summaryrefslogtreecommitdiffstats
path: root/zellij-utils
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2021-11-23 12:42:15 +0100
committerGitHub <noreply@github.com>2021-11-23 12:42:15 +0100
commitcd55c862601fdf6dfeadd125e3a52d3e334277e4 (patch)
tree1555f1fa838438da6fa3e382dc41cf230dd7b863 /zellij-utils
parentd05878315fdbbc0264d5dacf3dd927774e21d3d0 (diff)
Feat: add esc to exit modes (#889)
* Add ability to return to normal mode from any mode, except for the locked mode, by pressing the escape key to the default keybindings fix #887
Diffstat (limited to 'zellij-utils')
-rw-r--r--zellij-utils/assets/config/default.yaml12
1 files changed, 6 insertions, 6 deletions
diff --git a/zellij-utils/assets/config/default.yaml b/zellij-utils/assets/config/default.yaml
index 35dc2311d..98e19228d 100644
--- a/zellij-utils/assets/config/default.yaml
+++ b/zellij-utils/assets/config/default.yaml
@@ -55,7 +55,7 @@ keybinds:
- action: [SwitchToMode: Tab,]
key: [Ctrl: 't',]
- action: [SwitchToMode: Normal,]
- key: [Ctrl: 'r', Char: "\n", Char: ' ',]
+ key: [Ctrl: 'r', Char: "\n", Char: ' ', Esc]
- action: [SwitchToMode: Scroll,]
key: [Ctrl: 's']
- action: [SwitchToMode: Session,]
@@ -100,7 +100,7 @@ keybinds:
- action: [SwitchToMode: Tab,]
key: [Ctrl: 't',]
- action: [SwitchToMode: Normal,]
- key: [Ctrl: 'p', Char: "\n", Char: ' ',]
+ key: [Ctrl: 'p', Char: "\n", Char: ' ', Esc]
- action: [SwitchToMode: Scroll,]
key: [Ctrl: 's']
- action: [SwitchToMode: Session,]
@@ -145,7 +145,7 @@ keybinds:
- action: [SwitchToMode: Resize,]
key: [Ctrl: 'n',]
- action: [SwitchToMode: Normal,]
- key: [Ctrl: 'h', Char: "\n", Char: ' ',]
+ key: [Ctrl: 'h', Char: "\n", Char: ' ', Esc]
- action: [SwitchToMode: Scroll,]
key: [Ctrl: 's']
- action: [SwitchToMode: Session,]
@@ -184,7 +184,7 @@ keybinds:
- action: [SwitchToMode: Resize,]
key: [Ctrl: 'n',]
- action: [SwitchToMode: Normal,]
- key: [Ctrl: 't', Char: "\n", Char: ' ',]
+ key: [Ctrl: 't', Char: "\n", Char: ' ', Esc]
- action: [SwitchToMode: Scroll,]
key: [Ctrl: 's']
- action: [SwitchToMode: Move,]
@@ -240,7 +240,7 @@ keybinds:
scroll:
- action: [SwitchToMode: Normal,]
key: [Ctrl: 'r', Ctrl: 's', Char: ' ',
- Char: "\n",]
+ Char: "\n", Esc]
- action: [SwitchToMode: Tab,]
key: [Ctrl: 't',]
- action: [SwitchToMode: Locked,]
@@ -316,7 +316,7 @@ keybinds:
- action: [SwitchToMode: Tab,]
key: [Ctrl: 't',]
- action: [SwitchToMode: Normal,]
- key: [Ctrl: 'o', Char: "\n", Char: ' ',]
+ key: [Ctrl: 'o', Char: "\n", Char: ' ', Esc]
- action: [SwitchToMode: Scroll,]
key: [Ctrl: 's']
- action: [Quit,]