From b4e68789513c657c4c584e08c7051756c796126b Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 17 Apr 2026 10:53:47 +0100 Subject: feat: add keybinds and compact UI for zellij Keybindings (all in shared_except locked): - Alt+t: new tab, Alt+[/]: cycle tabs - Alt+w: zoom/fullscreen toggle (like tmux prefix+z) - Alt+x: close focused pane (like tmux prefix+x) - Alt+e: edit scrollback in $EDITOR (opens in nvim) - Alt+-/=: quick pane resize without entering resize mode UI options: - pane_frames false: hide pane borders for cleaner look - default_layout compact: single bottom status bar, no top bar --- home/.config/zellij/config.kdl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/home/.config/zellij/config.kdl b/home/.config/zellij/config.kdl index 0a1f6a6..f532c99 100644 --- a/home/.config/zellij/config.kdl +++ b/home/.config/zellij/config.kdl @@ -17,6 +17,10 @@ attach_to_session true show_startup_tips false show_release_notes false +// Clean UI: no pane borders, compact single-line status bar +pane_frames false +default_layout "compact" + // Custom keybindings (merged with defaults) keybinds { shared_except "locked" { @@ -31,6 +35,20 @@ keybinds { bind "Alt 8" { GoToTab 8; } bind "Alt 9" { GoToTab 9; } + // Tab management + bind "Alt t" { NewTab; } + bind "Alt [" { GoToPreviousTab; } + bind "Alt ]" { GoToNextTab; } + + // Pane management + bind "Alt w" { ToggleFocusFullscreen; } + bind "Alt x" { CloseFocus; } + bind "Alt e" { EditScrollback; } + + // Quick resize without entering resize mode + bind "Alt -" { Resize "Decrease"; } + bind "Alt =" { Resize "Increase"; } + // Seamless vim/zellij pane navigation (requires smart-splits.nvim) bind "Ctrl h" { MessagePlugin "https://github.com/hiasr/vim-zellij-navigator/releases/download/0.3.0/vim-zellij-navigator.wasm" { -- cgit v1.2.3-70-g09d2