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)