Tmux vim select bindings

This commit is contained in:
cubernetes 2023-07-28 15:34:17 +02:00
parent 8226587602
commit d0d7f54f29
1 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,11 @@ unbind C-b
set-option -g prefix C-Space
bind-key C-a send-prefix
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send -X begin-selection
bind-key -T copy-mode-vi V send -X select-line
bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
# Necessary for the styling!
setw -g pane-base-index 1
set -g base-index 1