updated config for tmux > 2.9
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#tmux.conf inspired by painless tmux
|
||||
#solarized color scheme
|
||||
#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
|
||||
unbind C-b
|
||||
set -g prefix C-a
|
||||
@@ -41,52 +42,28 @@ bind C-c choose-buffer
|
||||
# statusline
|
||||
set -g status-left-length 20
|
||||
set -g status-left "[#S]:[#P]"
|
||||
set -g status-right "%R %D"
|
||||
set -g status-right "(#h) %R %D"
|
||||
set -g status-justify centre
|
||||
|
||||
# colors
|
||||
# statusline
|
||||
set -g status-bg black
|
||||
set -g status-fg colour39
|
||||
set -g status-attr bright
|
||||
set -g status-style fg=colour39,bg=black,bright
|
||||
|
||||
# default window title colors
|
||||
setw -g window-status-fg colour39
|
||||
setw -g window-status-bg default
|
||||
setw -g window-status-attr bright
|
||||
setw -g window-status-style fg=colour39,bg=default,bright
|
||||
|
||||
# active window title colors
|
||||
setw -g window-status-current-fg colour120
|
||||
setw -g window-status-current-bg black
|
||||
setw -g window-status-current-attr bright
|
||||
setw -g window-status-current-style fg=colour120,bg=black,bright
|
||||
|
||||
# bell alerted window color
|
||||
setw -g window-status-bell-bg red
|
||||
setw -g window-status-bell-fg white
|
||||
setw -g window-status-bell-attr bright
|
||||
setw -g window-status-bell-style fg=white,bg=red,bright
|
||||
|
||||
# content alerted color
|
||||
#setw -g window-status-content-bg blue
|
||||
#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
|
||||
setw -g window-status-activity-style fg=white,bg=blue,bright
|
||||
|
||||
# pane borders
|
||||
set -g pane-border-fg colour120
|
||||
set -g pane-border-bg black
|
||||
set -g pane-active-border-fg colour39
|
||||
set -g pane-active-border-bg black
|
||||
setw -g pane-border-style fg=colour120,bg=black
|
||||
setw -g pane-active-border-style fg=colour39,bg=black
|
||||
|
||||
# command line
|
||||
set -g message-fg default
|
||||
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'
|
||||
set -g message-style fg=default,bg=default,bright
|
||||
|
||||
Reference in New Issue
Block a user