diff options
author | Canop <cano.petrole@gmail.com> | 2021-05-18 12:32:25 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2021-05-18 12:32:25 +0200 |
commit | 372213fa483f1b6e92b65575882d40f48480b5e4 (patch) | |
tree | 5a537d1665b3c8350787aeb2958df36ae367c1c5 /website/docs | |
parent | 1b66e4d13f5838d1da9c8c27138ee8673d80fef7 (diff) |
mention the use of exclamation for verbs in doc
Diffstat (limited to 'website/docs')
-rw-r--r-- | website/docs/verbs.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/website/docs/verbs.md b/website/docs/verbs.md index 285c832..2790acf 100644 --- a/website/docs/verbs.md +++ b/website/docs/verbs.md @@ -113,6 +113,22 @@ There are three types of verbs (they will be covered in more details in the [con A command may leave broot (for example to start a program), or not (the tree will be refreshed). +# Open in new panel with `!` + +The exclamation mark can be used to open the execution result in a new panel instead of replacing the current one. + +It can be located before or after the verb. + +Examples: + +command | result +-|- +:fo! | focus the current directory in a new panel +:!he | open the help side to your content +:!fo ~ | show your home directory in a new panel + +It can be used in a verb declaration in configuration too. + # Adding verbs You may start with the common set of verbs but you'll very quickly want to define how to edit or create files, and probably have a few personal commands. |