summaryrefslogtreecommitdiffstats
path: root/website/docs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-03-09 21:07:47 +0100
committerCanop <cano.petrole@gmail.com>2021-03-09 21:07:47 +0100
commitbb082416615d0b0d0008b7fdac9271882a3a1b03 (patch)
treecb7ff8ec8955911db29904d245a638f89d9b1f8b /website/docs
parentea167d9b11dfaf4df1d80d59bcc00d8e0118de80 (diff)
parent3026dd3be18e497770e5dd2bdff72e4cea59c4ea (diff)
Merge branch 'master' into fuzzy-experiment
Diffstat (limited to 'website/docs')
-rw-r--r--website/docs/conf_verbs.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/website/docs/conf_verbs.md b/website/docs/conf_verbs.md
index c4aee64..d4227f4 100644
--- a/website/docs/conf_verbs.md
+++ b/website/docs/conf_verbs.md
@@ -34,6 +34,7 @@ internal | | execution, when your verb is based on a predefined broot verb
external | | execution, when your verb is based on an external command
cmd | | a semicolon sequence to execute, similar to an argument you pass to `--cmd`
key | | a keyboard key triggering execution
+keys | | several keyboard shortcuts triggering execution (if you want to have the choice)
shortcut | | an alternate way to call the verb (without the arguments part)
leave_broot | `true` | whether to quit broot on execution
from_shell | `false` | whether the verb must be executed from the parent shell (needs `br`). As this is executed after broot closed, this isn't compatible with `leave_broot = false`
@@ -136,17 +137,20 @@ verbs: [
}
{
invocation: "bottom"
- key: "F7"
+ key: F7
internal: ":select_last"
}
{
invocation: "open"
- key: "crtl-O"
+ key: crtl-O
internal: ":open_stay"
}
{
invocation: "edit"
- key: "F2"
+ keys: [ // several possible shortcuts here
+ F2
+ ctrl-e
+ ]
shortcut: "e"
external: "$EDITOR +{line} {file}"
from_shell: true
@@ -185,7 +189,7 @@ internal = ":open_stay"
[[verbs]]
invocation = "edit"
-key = "F2"
+key = [ "F2", "ctrl-e" ]
shortcut = "e"
external = "$EDITOR +{line} {file}"
from_shell = true