Skip to content

Instantly share code, notes, and snippets.

@brayoh
Last active July 16, 2019 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brayoh/ef3b3138d5f69673a9e6c2fd72f01705 to your computer and use it in GitHub Desktop.
Save brayoh/ef3b3138d5f69673a9e6c2fd72f01705 to your computer and use it in GitHub Desktop.
# use to ctrl + a
set -g prefix C-a
set-option -g history-limit 100000
### COLOUR (Solarized 256)
#### COLOUR (Solarized 256)
# default statusbar colors
#set-option -g status-bg colour235 #base02
#set-option -g status-fg colour136 #yellow
#set-option -g status-attr default
# default window title colors
#set-window-option -g window-status-attr dim
# active window title colors
#set-window-option -g window-status-current-attr bright
# pane border
# message text
# pane number display
set-option -g display-panes-active-colour colour33 #blue
set-option -g display-panes-colour colour166 #orange
# clock
set-window-option -g clock-mode-colour colour64 #green'
# Enable mouse mode (tmux 2.1 and above)
set -g mouse on
# TPM plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-sensible'
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
######################
### DESIGN CHANGES ###
######################
# panes
## Status bar design
# status line
set -g status-justify left
set -g status-interval 2
# messaging
set -g message-command-style fg=blue,bg=black
#window mode
# window status
setw -g window-status-format " #F#I:#W#F "
setw -g window-status-current-format " #F#I:#W#F "
setw -g window-status-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W "
setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W "
# Info on left (I don't have a session display for now)
set -g status-left ''
# loud or quiet?
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-window-option -g monitor-activity off
set-option -g bell-action none
set -g default-terminal "screen-256color"
# The modes {
setw -g clock-mode-colour colour135
setw -g mode-style bg=colour6,fg=colour0,bold,fg=colour196,bg=colour238
# }
# The panes {
set -g pane-border-style fg=colour50,fg=black,bg=colour235,fg=colour238
set -g pane-active-border-style fg=colour24,fg=brightred,bg=colour236,fg=colour51
# }
# The statusbar {
set -g status-position bottom
set -g status-style bg=default,fg=colour12,bg=colour234,fg=colour137,dim
set -g status-left ''
set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 20
setw -g window-status-current-style fg=colour166,bg=default,bg=colour0,fg=colour11,dim,fg=colour81,bg=colour238,bold
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '
setw -g window-status-style fg=colour244,bg=default,bg=green,fg=black,reverse,fg=colour138,bg=colour235,none
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
setw -g window-status-bell-style bold,fg=colour255,bg=colour1
# }
# The messages {
set -g message-style bg=colour235,fg=colour166,fg=black,bg=yellow,bold,fg=colour232,bg=colour166
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment