From faee7ea2ea65bebaf7385153c794cb389cbdb944 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Mon, 19 Aug 2024 17:27:51 +0200 Subject: [PATCH] tmux: Reorder prefix setting to top of bindings --- .config/tmux/tmux.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 2781722..5aa94bb 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -16,6 +16,11 @@ 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' +# 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) 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 } -# Set C-a as new prefix -unbind C-b -set -g prefix C-a -bind C-a send-prefix - # Split panes with > and < unbind % bind < splitw -v -c "#{pane_current_path}"