From 38cf1936d2b509dc367499b2fa003bd53d338dea Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:22 +0100 Subject: feat(zellij): explicit split binds (Alt+| vertical, Alt+_ horizontal) tmux-style mnemonics. Bypasses NewPane's aspect-ratio auto-direction which misfires on widescreens with pane_frames disabled. --- KEYBINDS.md | 2 ++ dot_config/zellij/config.kdl | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/KEYBINDS.md b/KEYBINDS.md index df86e57..a2268a8 100644 --- a/KEYBINDS.md +++ b/KEYBINDS.md @@ -203,6 +203,8 @@ All binds are in `shared_except "locked"` mode (active everywhere except locked | `Alt-\` | Cycle swap layouts (reset sizes) | | `Alt-w` | Toggle pane fullscreen | | `Alt-x` | Close focused pane | +| Alt-| | Vertical split (new pane right) | +| `Alt-_` | Horizontal split (new pane below) | | `Alt-e` | Edit scrollback | | `Alt-q` | Detach session | | `Alt--` / `Alt-=` | Resize decrease / increase | diff --git a/dot_config/zellij/config.kdl b/dot_config/zellij/config.kdl index 569a52e..d87771a 100644 --- a/dot_config/zellij/config.kdl +++ b/dot_config/zellij/config.kdl @@ -62,6 +62,12 @@ keybinds { bind "Alt x" { CloseFocus; } bind "Alt e" { EditScrollback; } + // Explicit splits (tmux-style mnemonics: | vertical, _ horizontal). + // Bypasses NewPane's aspect-ratio auto-direction which misfires on + // widescreens with pane_frames disabled. + bind "Alt |" { NewPane "Right"; } + bind "Alt _" { NewPane "Down"; } + // Session bind "Alt q" { Detach; } -- cgit v1.3.1