Clean up tmux config

This commit is contained in:
2020-12-10 03:24:46 +01:00
parent fc02c4f47d
commit a17969b851

View File

@@ -1,15 +1,6 @@
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-save-interval '5'
set -g default-command "${SHELL}" set -g default-command "${SHELL}"
set -g default-terminal "${TERMBIN}" set -g default-terminal "${TERMBIN}"
set -g @continuum-restore 'on'
set -g set-titles on set -g set-titles on
set -g set-titles-string '#S' set -g set-titles-string '#S'
setw -g automatic-rename setw -g automatic-rename
@@ -48,18 +39,8 @@ set -g status-position bottom
set -g status-justify left set -g status-justify left
set-option -g status-bg '#222222' set-option -g status-bg '#272822'
set-option -g status-fg white set-option -g status-fg white
set-option -g status-attr default
set-window-option -g window-status-fg '#FFFFFF'
set-window-option -g window-status-current-fg '#000000'
set-window-option -g window-status-bg '#75715e'
set-window-option -g window-status-current-bg '#f92672'
set-window-option -g window-status-attr none
set-window-option -g window-status-current-attr bold
set-window-option -g window-status-format ' #I: #W #F ' set-window-option -g window-status-format ' #I: #W #F '
set-window-option -g window-status-current-format ' #I: #W #F ' set-window-option -g window-status-current-format ' #I: #W #F '
@@ -72,16 +53,8 @@ set-window-option -g automatic-rename-format '#{pane_current_command}'
set-window-option -g window-status-separator ' ' set-window-option -g window-status-separator ' '
set -g message-bg '#272822'
set -g message-fg white
set -g message-attr default
set -g pane-border-fg '#f8f8f2'
set -g pane-active-border-fg '#f92672'
set -g status-left " #[bg=#A6E22E,fg=#000000] #{session_name} #[bg=#272822] " set -g status-left " #[bg=#A6E22E,fg=#000000] #{session_name} #[bg=#272822] "
# set -g status-right "#[bg=#A6E22E,fg=#000000] #{host} #[bg=#272822] " # set -g status-right "#[bg=#A6E22E,fg=#000000] #{host} #[bg=#272822] "
set -g status-right "coninuum status: #{continuum_status}"
set -g status-left-length 100 set -g status-left-length 100
# vertical = | in this case # vertical = | in this case
@@ -106,5 +79,3 @@ bind-key -n C-F3 set-option status
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf sourced" bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf sourced"
bind P paste-buffer bind P paste-buffer
run '~/.tmux/plugins/tpm/tpm'