Update tmux config for vim

This commit is contained in:
Sanchayan Maity 2018-04-06 23:19:47 +05:30
parent 1fda3b8494
commit 7d2ff24002

View file

@ -41,9 +41,10 @@ bind -n M-Up select-pane -U
bind -n M-Down select-pane -D bind -n M-Down select-pane -D
# enable vi mode keys # enable vi mode keys
set-window-option -g mode-keys vi bind-key -T copy-mode-vi 'v' send -X begin-selection
bind -t vi-copy 'v' begin-selection bind-key -T copy-mode-vi 'y' send -X copy-selection
bind -t vi-copy 'y' 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 default terminal mode to 256 colors # set default terminal mode to 256 colors
set -g default-terminal "screen-256color" set -g default-terminal "screen-256color"