diff options
author | Max Schillinger <maxschillinger@web.de> | 2021-08-27 20:37:49 +0200 |
---|---|---|
committer | Max Schillinger <maxschillinger@web.de> | 2021-08-27 20:37:49 +0200 |
commit | c7f475d9cd8e101d2bd3945892d0e99ce22e418f (patch) | |
tree | 9e5ce4bab71258bd8a2f9db1025b322f7f25d4ca /website/docs | |
parent | ee354f9a7a2684783456b10707462f71045b1c3e (diff) |
Fix a wrong path, some typos and indentation
Diffstat (limited to 'website/docs')
-rw-r--r-- | website/docs/conf_verbs.md | 4 | ||||
-rw-r--r-- | website/docs/navigation.md | 2 | ||||
-rw-r--r-- | website/docs/tricks.md | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/website/docs/conf_verbs.md b/website/docs/conf_verbs.md index b115e4e..1aef517 100644 --- a/website/docs/conf_verbs.md +++ b/website/docs/conf_verbs.md @@ -40,7 +40,7 @@ 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` apply_to | | the type of selection this verb applies to, may be `"file"`, `"directory"` or `"any"`. You may declare two verbs with the same key if the first one applies to only files or only directories working_dir | | the working directory of the external application, for example `"{directory}"` for the closest directory (the working dir isn't set if the directory doesn't exist) -set_working_dir | `false` | whether the working dir of the process must be set to the currenly selected directory (it's equivalent to `workding_dir: "{directory}"`) +set_working_dir | `false` | whether the working dir of the process must be set to the currently selected directory (it's equivalent to `workding_dir: "{directory}"`) auto_exec | `true` | whether to execute the verb as soon as it's key-triggered (instead of waiting for <kbd>enter</kbd>) The execution is defined either by `internal`, `external` or `cmd` so a verb must have exactly one of those (for compatibility with older versions broot still accepts `execution` for `internal` or `external` and guesses which one it is). @@ -50,7 +50,7 @@ The execution is defined either by `internal`, `external` or `cmd` so a verb mus # Using quotes -If you want broot, for example, to execute `xterm -e "nvim {file}"`, you may either escape the quotes as `\"` or use the array format to separe parts. +If you want broot, for example, to execute `xterm -e "nvim {file}"`, you may either escape the quotes as `\"` or use the array format to separate parts. So the two following verb definitions are equivalent. diff --git a/website/docs/navigation.md b/website/docs/navigation.md index 23ec9f1..c4150e9 100644 --- a/website/docs/navigation.md +++ b/website/docs/navigation.md @@ -117,5 +117,5 @@ Other than executing a command leaving broot, there are several ways to quit: * if the current root is selected, just hit `enter` * hit <kbd>ctrl</kbd>+<kbd>Q</kbd> -* type `:q` or ` q` then `enter` +* type `:q` or `space` `q` then `enter` diff --git a/website/docs/tricks.md b/website/docs/tricks.md index 61452a4..b4e001f 100644 --- a/website/docs/tricks.md +++ b/website/docs/tricks.md @@ -16,7 +16,7 @@ This function supports most broot arguments: The goal here is to have a function you can use in shell to give you a path. -**Step 1:** create a file `~/.config/select.toml` with this content: +**Step 1:** create a file `~/.config/broot/select.toml` with this content: ```Hjson verbs: [ @@ -178,7 +178,7 @@ In this example I show lines containing "youtube" but not "txt" nor " 0 ms". ![search log](img/20200716-search-log.png) -# Escpape key +# Escape key Broot usage, just like vim, relies a lot on the <kbd>esc</kbd> key. If you're a frequent user of the terminal, you may want to remap an easy to reach and otherwise useless key (for example caps-lock) to <kbd>esc</kbd>. |