diff options
author | David Runge <dave@sleepmap.de> | 2023-12-03 11:05:06 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2023-12-03 11:05:06 +0100 |
commit | 8f0788f8e076426c28cdbb3d2af1b31ba2837cd1 (patch) | |
tree | 78cd71952074d6016763879c8b40a9be5d3e31d2 /.config/zellij | |
parent | 9c6a9b14c8065d9241f11257dd9e2ec4a427dc98 (diff) | |
download | dotfiles-8f0788f8e076426c28cdbb3d2af1b31ba2837cd1.tar.gz dotfiles-8f0788f8e076426c28cdbb3d2af1b31ba2837cd1.tar.bz2 dotfiles-8f0788f8e076426c28cdbb3d2af1b31ba2837cd1.tar.xz dotfiles-8f0788f8e076426c28cdbb3d2af1b31ba2837cd1.zip |
zellij: Also lock with Ctrl + q (and move quite to Alt + q)
Exiting on Ctrl + q is dangerous and happens all the time...
Signed-off-by: David Runge <dave@sleepmap.de>
Diffstat (limited to '.config/zellij')
-rw-r--r-- | .config/zellij/config.kdl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/zellij/config.kdl b/.config/zellij/config.kdl index 86de409..15308c0 100644 --- a/.config/zellij/config.kdl +++ b/.config/zellij/config.kdl @@ -5,7 +5,7 @@ keybinds { // bind "Alt c" { Copy; } } locked { - bind "Ctrl g" { SwitchToMode "Normal"; } + bind "Ctrl g" "Ctrl q" { SwitchToMode "Normal"; } } resize { bind "Ctrl n" { SwitchToMode "Normal"; } @@ -135,8 +135,8 @@ keybinds { bind "x" { CloseFocus; SwitchToMode "Normal"; } } shared_except "locked" { - bind "Ctrl g" { SwitchToMode "Locked"; } - bind "Ctrl q" { Quit; } + bind "Ctrl g" "Ctrl q" { SwitchToMode "Locked"; } + bind "Alt q" { Quit; } bind "Alt n" { NewPane; } bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; } bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; } |