From b9585a122d29a64608c1455c88446c74da360181 Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Tue, 14 Oct 2025 13:52:32 +0200 Subject: change tmux leader to Ctrl-F, simplify pane switch keybinds --- tmux/tmux.conf | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'tmux/tmux.conf') diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 7c46e6a..0f2de22 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -6,13 +6,14 @@ set -g mouse on # allows to use vim bindings in scroll mode - key [ set-window-option -g mode-keys vi -# switch between panes using vim binds - -unbind C-S-h -unbind C-S-l +# reassign leader key to C-f +set prefix C-f +unbind-key C-b +bind-key C-f send-prefix -bind-key -n C-S-h select-pane -L -bind-key -n C-S-j select-pane -D -bind-key -n C-S-k select-pane -U -bind-key -n C-S-l select-pane -R +# switch between panes using vim binds +bind-key h select-pane -L +bind-key j select-pane -D +bind-key k select-pane -U +bind-key l select-pane -R -- cgit v1.3.1