summaryrefslogtreecommitdiff
path: root/.config/zellij
diff options
context:
space:
mode:
authorAndrew Guschin <guschin@altlinux.org>2024-08-13 14:44:20 +0400
committerAndrew Guschin <guschin@altlinux.org>2024-08-13 14:44:20 +0400
commitb65cece3faa77e854ae0fe7ff20ff3613039e5a1 (patch)
tree0c346bc73e3f493a3f50315151727598e4cdf63c /.config/zellij
parent0e17af6c51c706439a39f824b8ad3a0d2395ba61 (diff)
add alternative shortcuts for exiting modes, comment out tmux mode
Diffstat (limited to '.config/zellij')
-rw-r--r--.config/zellij/config.kdl15
1 files changed, 7 insertions, 8 deletions
diff --git a/.config/zellij/config.kdl b/.config/zellij/config.kdl
index 80f08ac..1daa3e7 100644
--- a/.config/zellij/config.kdl
+++ b/.config/zellij/config.kdl
@@ -16,7 +16,7 @@ keybinds clear-defaults=true {
// bind "Alt c" { Copy; }
}
locked {
- bind "Ctrl g" { SwitchToMode "Normal"; }
+ bind "Alt g" { SwitchToMode "Normal"; }
}
resize {
bind "q" { SwitchToMode "Normal"; }
@@ -31,7 +31,7 @@ keybinds clear-defaults=true {
bind "L" { Resize "Decrease Right"; }
}
pane {
- bind "q" { SwitchToMode "Normal"; }
+ bind "Alt p" "q" { SwitchToMode "Normal"; }
bind "h" "Left" { MoveFocus "Left"; }
bind "j" "Down" { MoveFocus "Down"; }
@@ -75,7 +75,7 @@ keybinds clear-defaults=true {
bind "Tab" { ToggleTab; }
}
scroll {
- bind "q" { SwitchToMode "Normal"; }
+ bind "Alt s" "q" { SwitchToMode "Normal"; }
bind "e" { EditScrollback; SwitchToMode "Normal"; }
bind "s" { SwitchToMode "EnterSearch"; SearchInput 0; }
bind "Ctrl c" { ScrollToBottom; SwitchToMode "Normal"; }
@@ -148,8 +148,7 @@ keybinds clear-defaults=true {
bind "x" { CloseFocus; SwitchToMode "Normal"; }
}
shared_except "locked" {
- bind "Ctrl g" { SwitchToMode "Locked"; }
- bind "Ctrl q" { Quit; }
+ bind "Alt g" { SwitchToMode "Locked"; }
bind "Alt n" { NewPane; }
bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; }
bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; }
@@ -182,9 +181,9 @@ keybinds clear-defaults=true {
shared_except "tab" "locked" {
bind "Alt t" { SwitchToMode "Tab"; }
}
- shared_except "tmux" "locked" {
- bind "Ctrl b" { SwitchToMode "Tmux"; }
- }
+ // shared_except "tmux" "locked" {
+ // bind "Ctrl b" { SwitchToMode "Tmux"; }
+ // }
}
plugins {