summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorSkladnayazebra <skladnayazebra@gmail.com>2025-10-14 13:52:32 +0200
committerSkladnayazebra <skladnayazebra@gmail.com>2025-10-14 13:52:32 +0200
commitb9585a122d29a64608c1455c88446c74da360181 (patch)
tree15b1b7adda57a0793b8d162283a1d17137488856 /tmux
parent6e9e02c165a35a0da26e6202dc8f09ce3326865d (diff)
change tmux leader to Ctrl-F, simplify pane switch keybinds
Diffstat (limited to 'tmux')
-rw-r--r--tmux/tmux.conf17
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