From 08a991f44441d1871a4e109c1d085a4bda828a6b Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 11 Oct 2018 13:58:03 +0530 Subject: [PATCH] tmux.conf: Update tmux configuration Signed-off-by: Sanchayan Maity --- tmux.conf | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/tmux.conf b/tmux.conf index 7523abe..12b480c 100644 --- a/tmux.conf +++ b/tmux.conf @@ -41,10 +41,9 @@ bind -n M-Up select-pane -U bind -n M-Down select-pane -D # enable vi mode keys -bind-key -T copy-mode-vi 'v' send -X begin-selection -bind-key -T copy-mode-vi 'y' send -X copy-selection -bind-key -T copy-mode-vi 'Space' send -X halfpage-down -bind-key -T copy-mode-vi 'Bspace' send -X halfpage-up +#set-window-option -g mode-keys vi +#bind -t vi-copy 'v' begin-selection +#bind -t vi-copy 'y' copy-selection # set default terminal mode to 256 colors set -g default-terminal "screen-256color" @@ -61,7 +60,6 @@ bind-key u capture-pane \;\ save-buffer /tmp/tmux-buffer \;\ split-window -l 10 "urlview /tmp/tmux-buffer" - ###################### ### DESIGN CHANGES ### ###################### @@ -157,3 +155,14 @@ set -g message-fg colour232 set -g message-bg colour16 # } + +# Plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'tmux-plugins/tmux-continuum' +set -g @plugin 'tmux-plugins/tmux-yank' +set -g @plugin 'tmux-plugins/tmux-open' + +set -g @continuum-restore 'on' + +run '~/.tmux/plugins/tpm/tpm'