aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:22 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:22 +0100
commit38cf1936d2b509dc367499b2fa003bd53d338dea (patch)
tree5bbcab0c383e145c41609093497fea81327b3d2a
parent42aa21ea4b12031af45a1e4499f5114dad396a0a (diff)
downloaddotfiles-38cf1936d2b509dc367499b2fa003bd53d338dea.tar.gz
dotfiles-38cf1936d2b509dc367499b2fa003bd53d338dea.tar.bz2
dotfiles-38cf1936d2b509dc367499b2fa003bd53d338dea.zip
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.
-rw-r--r--KEYBINDS.md2
-rw-r--r--dot_config/zellij/config.kdl6
2 files changed, 8 insertions, 0 deletions
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 |
+| <code>Alt-&#124;</code> | 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; }