diff options
| author | Skladnayazebra <skladnayazebra@gmail.com> | 2025-10-14 13:52:32 +0200 |
|---|---|---|
| committer | Skladnayazebra <skladnayazebra@gmail.com> | 2025-10-14 13:52:32 +0200 |
| commit | b9585a122d29a64608c1455c88446c74da360181 (patch) | |
| tree | 15b1b7adda57a0793b8d162283a1d17137488856 /tmux | |
| parent | 6e9e02c165a35a0da26e6202dc8f09ce3326865d (diff) | |
change tmux leader to Ctrl-F, simplify pane switch keybinds
Diffstat (limited to 'tmux')
| -rw-r--r-- | tmux/tmux.conf | 17 |
1 files changed, 9 insertions, 8 deletions
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 |
