summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2026-01-31 11:46:47 +0000
committerDavid T. Sadler <davidtsadler@googlemail.com>2026-02-01 14:37:00 +0000
commitbd869d4004e12183438cc16bfd1ce7e49cd82f2b (patch)
tree03bb98e2f4d41c0d82a4b7d25616fc6511e72181 /tmux
parente6842071f60c3023d1c16ad0f88d53e2a352154b (diff)
Switch to using Alt+hjkl,cursor for navigating tmux panes
Diffstat (limited to 'tmux')
-rw-r--r--tmux/.config/tmux/tmux.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf
index 58e7e4a..ee47425 100644
--- a/tmux/.config/tmux/tmux.conf
+++ b/tmux/.config/tmux/tmux.conf
@@ -25,7 +25,11 @@ bind j select-pane -DZ
bind k select-pane -UZ
bind l select-pane -RZ
-# Alt+cursor keys to switch panes without prefix.
+# Alt+hjkl,cursor keys to switch panes without prefix.
+bind -n M-h select-pane -LZ
+bind -n M-j select-pane -DZ
+bind -n M-k select-pane -UZ
+bind -n M-l select-pane -RZ
bind -n M-Left select-pane -LZ
bind -n M-Down select-pane -DZ
bind -n M-Up select-pane -UZ