updated config for tmux > 2.9

This commit is contained in:
2019-04-28 12:10:11 -06:00
parent 949e6da439
commit ea0fa94294
+11 -34
View File
@@ -1,7 +1,8 @@
#tmux.conf inspired by painless tmux #tmux.conf inspired by painless tmux
#solarized color scheme #solarized color scheme
#set 256 colormode #set 256 colormode
set -g default-terminal "screen-256color" set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",xterm-termite:Tc"
#remap prefix to ctrl + a #remap prefix to ctrl + a
unbind C-b unbind C-b
set -g prefix C-a set -g prefix C-a
@@ -41,52 +42,28 @@ bind C-c choose-buffer
# statusline # statusline
set -g status-left-length 20 set -g status-left-length 20
set -g status-left "[#S]:[#P]" set -g status-left "[#S]:[#P]"
set -g status-right "%R %D" set -g status-right "(#h) %R %D"
set -g status-justify centre set -g status-justify centre
# colors # colors
# statusline # statusline
set -g status-bg black set -g status-style fg=colour39,bg=black,bright
set -g status-fg colour39
set -g status-attr bright
# default window title colors # default window title colors
setw -g window-status-fg colour39 setw -g window-status-style fg=colour39,bg=default,bright
setw -g window-status-bg default
setw -g window-status-attr bright
# active window title colors # active window title colors
setw -g window-status-current-fg colour120 setw -g window-status-current-style fg=colour120,bg=black,bright
setw -g window-status-current-bg black
setw -g window-status-current-attr bright
# bell alerted window color # bell alerted window color
setw -g window-status-bell-bg red setw -g window-status-bell-style fg=white,bg=red,bright
setw -g window-status-bell-fg white
setw -g window-status-bell-attr bright
# content alerted color # content alerted color
#setw -g window-status-content-bg blue setw -g window-status-activity-style fg=white,bg=blue,bright
#setw -g window-status-content-fg white
#setw -g window-status-content-attr bright
setw -g window-status-activity-bg blue
setw -g window-status-activity-fg white
setw -g window-status-activity-attr bright
# pane borders # pane borders
set -g pane-border-fg colour120 setw -g pane-border-style fg=colour120,bg=black
set -g pane-border-bg black setw -g pane-active-border-style fg=colour39,bg=black
set -g pane-active-border-fg colour39
set -g pane-active-border-bg black
# command line # command line
set -g message-fg default set -g message-style fg=default,bg=default,bright
set -g message-bg default
set -g message-attr bright
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
#Initialize TPM(has to be last line)
run -b '~/.tmux/plugins/tpm/tpm'