tmux: Add continuum plugin
This commit is contained in:
@@ -1,6 +1,15 @@
|
|||||||
|
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 "rxvt-unicode"
|
set -g default-terminal "rxvt-unicode"
|
||||||
|
|
||||||
|
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
|
||||||
@@ -72,7 +81,7 @@ 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 ""
|
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
|
||||||
@@ -97,3 +106,5 @@ 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'
|
||||||
|
|||||||
Reference in New Issue
Block a user