zellij: add pane resize keybinds with Alt+Shift+hjkl

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
2026-03-11 20:44:15 +09:00
co-authored by Claude Sonnet 4.6
parent 5953ed4068
commit db8baa0c58
+18 -10
View File
@@ -13,18 +13,26 @@
keybinds { keybinds {
locked { locked {
bind "Ctrl g" { SwitchToMode "normal"; } bind "Ctrl g" { SwitchToMode "normal"; }
bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; } bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; }
bind "Alt j" "Alt Down" { MoveFocus "Down"; } bind "Alt j" "Alt Down" { MoveFocus "Down"; }
bind "Alt k" "Alt Up" { MoveFocus "Up"; } bind "Alt k" "Alt Up" { MoveFocus "Up"; }
bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; } bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; }
bind "Alt n" { NewPane; } bind "Alt n" { NewPane; }
bind "Alt H" "Alt S-Left" { Resize "Increase Left"; }
bind "Alt J" "Alt S-Down" { Resize "Increase Down"; }
bind "Alt K" "Alt S-Up" { Resize "Increase Up"; }
bind "Alt L" "Alt S-Right" { Resize "Increase Right"; }
} }
normal { normal {
bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; } bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; }
bind "Alt j" "Alt Down" { MoveFocus "Down"; } bind "Alt j" "Alt Down" { MoveFocus "Down"; }
bind "Alt k" "Alt Up" { MoveFocus "Up"; } bind "Alt k" "Alt Up" { MoveFocus "Up"; }
bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; } bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; }
bind "Alt n" { NewPane; } bind "Alt n" { NewPane; }
bind "Alt H" "Alt S-Left" { Resize "Increase Left"; }
bind "Alt J" "Alt S-Down" { Resize "Increase Down"; }
bind "Alt K" "Alt S-Up" { Resize "Increase Up"; }
bind "Alt L" "Alt S-Right" { Resize "Increase Right"; }
} }
} }
''; '';