zellij: more configuration

This commit is contained in:
Kate 2025-05-22 22:09:33 +02:00
parent 7d2dfbed5c
commit 63ac881eea
2 changed files with 31 additions and 21 deletions

View file

@ -6,6 +6,12 @@ keybinds clear-defaults=true {
locked { locked {
bind "`" { SwitchToMode "normal"; } bind "`" { SwitchToMode "normal"; }
} }
normal {
bind "`" {
WriteChars "`";
SwitchToMode "locked";
}
}
pane { pane {
bind "left" { MoveFocus "left"; } bind "left" { MoveFocus "left"; }
bind "down" { MoveFocus "down"; } bind "down" { MoveFocus "down"; }
@ -160,10 +166,6 @@ keybinds clear-defaults=true {
bind "Alt o" { MoveTab "right"; } bind "Alt o" { MoveTab "right"; }
} }
shared_except "locked" "renametab" "renamepane" { shared_except "locked" "renametab" "renamepane" {
bind "`" {
WriteChars "`";
SwitchToMode "locked";
}
bind "Ctrl q" { Quit; } bind "Ctrl q" { Quit; }
} }
shared_except "locked" "entersearch" { shared_except "locked" "entersearch" {
@ -186,6 +188,14 @@ keybinds clear-defaults=true {
} }
shared_among "normal" "resize" "tab" "scroll" "prompt" "tmux" { shared_among "normal" "resize" "tab" "scroll" "prompt" "tmux" {
bind "p" { SwitchToMode "pane"; } bind "p" { SwitchToMode "pane"; }
bind "/" {
LaunchOrFocusPlugin "file:~/.config/zellij/plugins/zellij_forgot.wasm" {
floating true
}
}
}
shared_except "normal" "locked" {
bind "`" { SwitchToMode "locked"; }
} }
shared_except "locked" "resize" "pane" "tab" "entersearch" "renametab" "renamepane" { shared_except "locked" "resize" "pane" "tab" "entersearch" "renametab" "renamepane" {
bind "r" { SwitchToMode "resize"; } bind "r" { SwitchToMode "resize"; }

Binary file not shown.