diff options
author | a-kenji <aks.kenji@protonmail.com> | 2021-05-07 10:09:26 +0200 |
---|---|---|
committer | a-kenji <aks.kenji@protonmail.com> | 2021-05-07 10:51:35 +0200 |
commit | 79a4f76e93dd25c4eb71af18885b4c043807b78c (patch) | |
tree | 5aef2bcbd57fc2630ca1e01ab038fa0e9c697da3 /docs | |
parent | 23450a708c48d4f0bf65db81425168734fc85487 (diff) |
Add more Functionality to Unbind
The default keybinds can be unbound either for a specific mode, or for every mode.
It supports either a list of `keybinds`, or a bool indicating that every keybind
should be unbound:
```
keybinds:
unbind: true
```
Will unbind every default binding.
```
keybinds:
unbind: [ Ctrl: 'p']
```
Will unbind every default `^P` binding for each mode.
```
keybinds:
normal:
- unbind: true
```
Will unbind every default keybind for the `normal` mode.
```
keybinds:
normal:
- unbind: [ Alt: 'n', Ctrl: 'g']
```
Will unbind every default keybind for `n` and `^g` for the `normal` mode.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/MANPAGE.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/MANPAGE.md b/docs/MANPAGE.md index 6ef937c13..8f9f45b5c 100644 --- a/docs/MANPAGE.md +++ b/docs/MANPAGE.md @@ -101,6 +101,34 @@ where "normal" stands for a mode name (see MODES section), "action" part specifies the actions to be executed by Zellij (see ACTIONS section) and "key" is used to list keys or key combinations bound to given actions (see KEYS). +The default keybinds can be unbound either for a specific mode, or for every mode. +It supports either a list of `keybinds`, or a bool indicating that every keybind +should be unbound: + +``` +keybinds: + unbind: true +``` +Will unbind every default binding. + +``` +keybinds: + unbind: [ Ctrl: 'p'] +``` +Will unbind every default `^P` binding for each mode. +``` +keybinds: + normal: + - unbind: true +``` +Will unbind every default keybind for the `normal` mode. +``` +keybinds: + normal: + - unbind: [ Alt: 'n', Ctrl: 'g'] +``` +Will unbind every default keybind for `n` and `^g` for the `normal` mode. + ACTIONS ------- |