aboutsummaryrefslogtreecommitdiffstats
path: root/docs/MANPAGE.md
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2021-05-07 10:09:26 +0200
committera-kenji <aks.kenji@protonmail.com>2021-05-07 10:51:35 +0200
commit79a4f76e93dd25c4eb71af18885b4c043807b78c (patch)
tree5aef2bcbd57fc2630ca1e01ab038fa0e9c697da3 /docs/MANPAGE.md
parentfix(build): Make sure `assets/man` folder exists before building (diff)
downloadsl0ppij-79a4f76e93dd25c4eb71af18885b4c043807b78c.tar.gz
sl0ppij-79a4f76e93dd25c4eb71af18885b4c043807b78c.tar.xz
sl0ppij-79a4f76e93dd25c4eb71af18885b4c043807b78c.zip
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/MANPAGE.md')
-rw-r--r--docs/MANPAGE.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/MANPAGE.md b/docs/MANPAGE.md
index 6ef937c1..8f9f45b5 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
-------