tmux: Reorder prefix setting to top of bindings
This commit is contained in:
@@ -16,6 +16,11 @@ set -g copy-command 'xclip -selection clipboard'
|
|||||||
# https://github.com/neovim/neovim/wiki/FAQ#cursor-shape-doesnt-change-in-tmux
|
# 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'
|
set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
|
||||||
|
|
||||||
|
# Set C-a as new prefix
|
||||||
|
unbind C-b
|
||||||
|
set -g prefix C-a
|
||||||
|
bind C-a send-prefix
|
||||||
|
|
||||||
# Copy selection into primary selection (without aborting)
|
# Copy selection into primary selection (without aborting)
|
||||||
bind -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-no-clear "xclip -se p"
|
bind -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-no-clear "xclip -se p"
|
||||||
|
|
||||||
@@ -67,11 +72,6 @@ bind -T copy-mode-vi WheelDownPane \
|
|||||||
send -XN5 scroll-down
|
send -XN5 scroll-down
|
||||||
}
|
}
|
||||||
|
|
||||||
# Set C-a as new prefix
|
|
||||||
unbind C-b
|
|
||||||
set -g prefix C-a
|
|
||||||
bind C-a send-prefix
|
|
||||||
|
|
||||||
# Split panes with > and <
|
# Split panes with > and <
|
||||||
unbind %
|
unbind %
|
||||||
bind < splitw -v -c "#{pane_current_path}"
|
bind < splitw -v -c "#{pane_current_path}"
|
||||||
|
|||||||
Reference in New Issue
Block a user