summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Guschin <guschin@altlinux.org>2025-03-02 12:29:31 +0400
committerAndrew Guschin <guschin@altlinux.org>2025-03-02 12:29:31 +0400
commite3edb47ffd103189ba02b9e04e456bc4141fc536 (patch)
tree05eac392cda2b7cab10a3e6386030297e5357fd2
parent956501fa41602f10a03fda40e79e38896132ff35 (diff)
feat: add more pane management shortcuts to zellij
-rw-r--r--.config/zellij/config.kdl16
1 files changed, 6 insertions, 10 deletions
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"; }