tmux: Group options setting
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user