Update .tmux.conf

This commit is contained in:
Felix Delattre 2023-03-09 22:41:07 +00:00
parent 3649e8b7a8
commit f9cd9bb0cd
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ bind -r m resize-pane -Z
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection # start selecting text with "v"
bind-key -T copy-mode-vi 'y' send -X copy-selection # copy text with "y"
#bind-key -T copy-mode-vi 'y' send -X copy-selection # copy text with "y"
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
unbind -T copy-mode-vi MouseDragEnd1Pane # don't exit copy mode after dragging with mouse