tmux: Group options setting

This commit is contained in:
2024-08-19 17:26:16 +02:00
parent 873021ba80
commit 41360b8278

View File

@@ -13,6 +13,9 @@ set -s set-clipboard off
set -g copy-command 'xclip -selection clipboard'
# https://github.com/neovim/neovim/wiki/FAQ#cursor-shape-doesnt-change-in-tmux
set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
# Copy selection into primary selection (without aborting)
bind -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-no-clear "xclip -se p"
@@ -39,9 +42,6 @@ bind -n TripleClick1Pane {
}
}
# https://github.com/neovim/neovim/wiki/FAQ#cursor-shape-doesnt-change-in-tmux
set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
# Scroll up 5 lines when entering copy-mode through the mouse wheel, send 5x`up`
# when the current pane is in alternate mode and discard the `-e` flag passed to
# copy-mode from the default binding (See below)