.tmux.conf: Don't leave copy mode after selecting text

This commit is contained in:
cubernetes 2023-08-08 17:06:01 +02:00
parent f56563b762
commit 94afc0873e
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@ bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -in -selection cl
set-option -g escape-time 10
set -g focus-events on
# After scrolling and selecting text, don't leave copy mode
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-selection
# Necessary for the styling!
setw -g pane-base-index 1
set -g base-index 1