aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2021-05-03 09:57:02 +0200
committera-kenji <aks.kenji@protonmail.com>2021-05-03 12:26:30 +0200
commit118e5a10cbad44c9f524f246a65dfd4675916c53 (patch)
tree268ddd8bbde3adf8e18763cacd6396cd7d0c154f
parentMerge pull request #436 from a-kenji/fix-default-config-test (diff)
downloadsl0ppij-118e5a10cbad44c9f524f246a65dfd4675916c53.tar.gz
sl0ppij-118e5a10cbad44c9f524f246a65dfd4675916c53.tar.xz
sl0ppij-118e5a10cbad44c9f524f246a65dfd4675916c53.zip
Fixes Default Keybinds in Resize Mode #440
Closes #440 Changes arrow keybinds from switching focus to resizing. Add arrow parity keybinds to scroll and tab modes.
-rw-r--r--CHANGELOG.md1
-rw-r--r--assets/config/default.yaml20
2 files changed, 9 insertions, 12 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 838d84db..99ac74ad 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
* Improve error reporting and tests of configuration (https://github.com/zellij-org/zellij/pull/423)
* Refactor install module to setup module (https://github.com/zellij-org/zellij/pull/431)
* Add theme support through xrdb (https://github.com/zellij-org/zellij/pull/239)
+* Fix default keybindings in resize mode and add arrow parity in tab and scroll mode (https://github.com/zellij-org/zellij/pull/441)
## [0.6.0] - 2021-04-29
* Doesn't quit anymore on single `q` press while in tab mode (https://github.com/zellij-org/zellij/pull/342)
diff --git a/assets/config/default.yaml b/assets/config/default.yaml
index d7360c58..4d0bdac0 100644
--- a/assets/config/default.yaml
+++ b/assets/config/default.yaml
@@ -55,13 +55,13 @@ keybinds:
- action: [NewPane: ,]
key: [ Alt: 'n',]
- action: [MoveFocus: Left,]
- key: [ Alt: 'h', Left,]
+ key: [ Alt: 'h',]
- action: [MoveFocus: Right,]
- key: [ Alt: 'l', Right,]
+ key: [ Alt: 'l',]
- action: [MoveFocus: Down,]
- key: [ Alt: 'j', Down,]
+ key: [ Alt: 'j',]
- action: [MoveFocus: Up,]
- key: [ Alt: 'k', Up,]
+ key: [ Alt: 'k',]
- action: [FocusPreviousPane,]
key: [ Alt: '[',]
- action: [FocusNextPane,]
@@ -123,13 +123,9 @@ keybinds:
- action: [FocusNextPane,]
key: [ Alt: ']',]
- action: [GoToPreviousTab,]
- key: [ Char: 'h',]
- - action: [GoToNextTab,]
- key: [ Char: 'l',]
+ key: [ Char: 'h', Left, Up, Char: 'k',]
- action: [GoToNextTab,]
- key: [ Char: 'j',]
- - action: [GoToPreviousTab,]
- key: [ Char: 'k',]
+ key: [ Char: 'l', Right,Down, Char: 'j']
- action: [NewTab,]
key: [ Char: 'n',]
- action: [CloseTab,]
@@ -177,9 +173,9 @@ keybinds:
- action: [ScrollUp,]
key: [Char: 'k', Up,]
- action: [PageScrollDown,]
- key: [Ctrl: 'f', PageDown,]
+ key: [Ctrl: 'f', PageDown, Right, Char: 'l',]
- action: [PageScrollUp,]
- key: [Ctrl: 'b', PageUp,]
+ key: [Ctrl: 'b', PageUp, Left, Char: 'h',]
- action: [NewPane: ,]
key: [ Alt: 'n',]
- action: [MoveFocus: Left,]