merged tmux.conf from yoga2 with tpm and tmux > 2.9 config changes

This commit is contained in:
2019-04-28 12:22:02 -06:00
parent cf8e460ef2
commit 89b812c0dd
+21 -29
View File
@@ -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
@@ -17,8 +18,8 @@ setw -g pane-base-index 1
bind r source-file ~/.tmux.conf \; display "config file loaded."
#Faster command sequence
set -s escape-time 0
set -g bell-action any # listen for activity on all windows
set -g bell-on-alert on
#set -g bell-action any # listen for activity on all windows
#set -g bell-on-alert on
bind | split-window -h
bind - split-window -v
unbind x
@@ -41,45 +42,36 @@ 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
set -g message-style fg=default,bg=default,bright
# Plugin list
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
#set -g @plugin 'tmux-plugins/tmux-continuum'
# start tmux plugin manager(keep last line)
run -b '~/.tmux/plugins/tpm/tpm'