From 306ce967809011c6d3aa6624872e7a4fdd8230fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Mon, 5 Oct 2020 22:03:24 +0200 Subject: [PATCH] tmux: Add continuum plugin --- tmux/tmux.conf | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 314a122..e800d48 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -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-terminal "rxvt-unicode" +set -g @continuum-restore 'on' + set -g set-titles on set -g set-titles-string '#S' 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-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 # 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 P paste-buffer + +run '~/.tmux/plugins/tpm/tpm'