summaryrefslogtreecommitdiffstats
path: root/website/docs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-02-26 21:10:57 +0100
committerCanop <cano.petrole@gmail.com>2021-02-26 21:10:57 +0100
commit4bf1ad20ef1feb8025921e1d77ee8dcdb4ca15cd (patch)
treedf7fbc0c046e365fc1f42f3832f8aadcca0003f1 /website/docs
parent8d5ae36e67a60af6a752ca56880ff9c2e7cf1e92 (diff)
cleaner hjson in some conf examples
Diffstat (limited to 'website/docs')
-rw-r--r--website/docs/conf_verbs.md32
1 files changed, 7 insertions, 25 deletions
diff --git a/website/docs/conf_verbs.md b/website/docs/conf_verbs.md
index 9001265..c4aee64 100644
--- a/website/docs/conf_verbs.md
+++ b/website/docs/conf_verbs.md
@@ -371,25 +371,13 @@ name | default binding | behavior
:input_go_word_left | - | "move the cursor one word to the left",
:input_go_word_right | - | "move the cursor one word to the right",
-You may add this kind of shortcuts:
+You may add this kind of shortcuts in the `verbs` section:
```hjson
-{
-key: "alt-b"
-internal: ":input_go_word_left"
-}
-{
-key: "alt-f"
-internal: ":input_go_word_right"
-}
-{
-key: "alt-l"
-internal: ":input_del_word_left"
-}
-{
-key: "alt-r"
-internal: ":input_del_word_right"
-}
+{ key: "alt-b", internal: ":input_go_word_left" }
+{ key: "alt-f", internal: ":input_go_word_right" }
+{ key: "alt-l", internal: ":input_del_word_left" }
+{ key: "alt-r", internal: ":input_del_word_right" }
```
```toml
[[verbs]]
@@ -422,14 +410,8 @@ It serves as base for several built-in commands, like `:home` whose execution is
And you can add your own ones:
```hjson
-{
-key: "ctrl-up"
-internal: ":focus .."
-}
-{
-key: "ctrl-d"
-internal: ":focus ~/dev"
-}
+{ key: "ctrl-up", internal: ":focus .." }
+{ key: "ctrl-d", internal: ":focus ~/dev" }
```
```toml
[[verbs]]