From 41360b8278288fadf64a27439c6a81c964a378ee Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Mon, 19 Aug 2024 17:26:16 +0200 Subject: [PATCH] tmux: Group options setting --- .config/tmux/tmux.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index f24bd20..2781722 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -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)