diff options
| -rw-r--r-- | KEYBINDS.md | 2 | ||||
| -rw-r--r-- | dot_config/zellij/config.kdl | 6 |
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-|</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; } |
