From e3edb47ffd103189ba02b9e04e456bc4141fc536 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Sun, 2 Mar 2025 12:29:31 +0400 Subject: feat: add more pane management shortcuts to zellij --- .config/zellij/config.kdl | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to '.config/zellij') diff --git a/.config/zellij/config.kdl b/.config/zellij/config.kdl index 1daa3e7..b3c9d51 100644 --- a/.config/zellij/config.kdl +++ b/.config/zellij/config.kdl @@ -1,11 +1,5 @@ // vim:set syntax=conf: -ui { - pane_frames { - hide_session_name true - } -} - simplified_ui true pane_frames false default_layout "compact" @@ -44,10 +38,10 @@ keybinds clear-defaults=true { bind "L" { MovePane "Right"; } bind "p" { SwitchFocus; } - bind "n" { NewPane; } + bind "n" { NewPane; SwitchToMode "Normal"; } bind "r" { SwitchToMode "Resize"; } - bind "_" { NewPane "Down"; SwitchToMode "Normal"; } - bind "|" { NewPane "Right"; SwitchToMode "Normal"; } + bind "-" { NewPane "Down"; SwitchToMode "Normal"; } + bind "\\" { NewPane "Right"; SwitchToMode "Normal"; } bind "x" { CloseFocus; SwitchToMode "Normal"; } bind "z" { TogglePaneFrames; SwitchToMode "Normal"; } bind "c" { SwitchToMode "RenamePane"; PaneNameInput 0;} @@ -149,7 +143,9 @@ keybinds clear-defaults=true { } shared_except "locked" { bind "Alt g" { SwitchToMode "Locked"; } - bind "Alt n" { NewPane; } + bind "Alt n" { NewTab; SwitchToMode "Normal"; } + bind "Alt -" { NewPane "Down"; SwitchToMode "Normal"; } + bind "Alt \\" { NewPane "Right"; SwitchToMode "Normal"; } bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; } bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; } bind "Alt j" "Alt Down" { MoveFocus "Down"; } -- cgit v1.2.3