summaryrefslogtreecommitdiffstats
path: root/website/docs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-03-15 20:42:57 +0100
committerCanop <cano.petrole@gmail.com>2021-03-15 20:42:57 +0100
commit8646c1064133b67d7972f16d8870ab2203c36074 (patch)
treeffaa65f0547095fc4c15491b825437e1cb02fbcc /website/docs
parent1062a0145d9d17ace6a14bdab4def72fa8b2727b (diff)
a whole bag of nothing changed
Diffstat (limited to 'website/docs')
-rw-r--r--website/docs/conf_verbs.md2
-rw-r--r--website/docs/input.md1
-rw-r--r--website/docs/vim_mode.md11
3 files changed, 7 insertions, 7 deletions
diff --git a/website/docs/conf_verbs.md b/website/docs/conf_verbs.md
index d4227f4..4af35be 100644
--- a/website/docs/conf_verbs.md
+++ b/website/docs/conf_verbs.md
@@ -364,7 +364,7 @@ Some internal actions can be bound to a key shortcut but can't be called explici
name | default binding | behavior
-|-|-
-:input_del_char_left | <kbd>del</kbd> | "delete the char left of the cursor",
+:input_del_char_left | <kbd>delete</kbd> | "delete the char left of the cursor",
:input_del_char_below | <kbd>suppr</kbd> | "delete the char left at the cursor's position",
:input_del_word_left | - | "delete the word left of the cursor",
:input_del_word_right | - | "delete the word right of the cursor",
diff --git a/website/docs/input.md b/website/docs/input.md
index 22a02ff..130561a 100644
--- a/website/docs/input.md
+++ b/website/docs/input.md
@@ -33,6 +33,7 @@ exact path | `ep/te\/d` or `pe/te\/d/` | `website/docs` | search for "te/d" in
regex path | `rp/\\d{3}.*txt` | `dir/a256/abc.txt` | search for the `\d{3}.*txt` regex in sub-paths from current tree root
exact content | `c/mask` or `c/mask/` | `umask = "1.0"` | search for the "mask" string in file contents
regex content | `rc/[abc]{5}/i` | `bAAAc` | search with a regular expression in file contents - `i` making it case insensitive
+regex content | `cr/\\bzh\\b` | `"zh":{` | search a word with a regular expression in file contents
It's also possible to [redefine those mode mappings](../conf_file/#search-modes).
diff --git a/website/docs/vim_mode.md b/website/docs/vim_mode.md
index fa32107..140d8cf 100644
--- a/website/docs/vim_mode.md
+++ b/website/docs/vim_mode.md
@@ -1,13 +1,12 @@
-# Modal Mode (aka "Vim Mode")
-## Warnings
+# Warnings
1. DON'T activate this mode until you really tried broot. Broot isn't a text editor and can't be confused with one. This mode may be more comfortable when you constantly jump from vim to broot but only after you understood how broot works.
1. This isn't really about a "vim mode". This is about a "modal mode" in which single letter key shortcuts are possible because the input at the bottom isn't always focused. You may devise single letter shortcuts without taking inspiration in vim
1. You may be an avid vim user, as I am, and still prefer not to use modality in broot. Starting in *command* mode means you have one more letter to type before searching, because search is done in *input* mode. And broot is search oriented and often used in very short sessions (less than 5 seconds from intent to launch to being back in the shell in the right directory or editing the right file in your favorite editor)
-## Configuration
+# Configuration
You need first to enable the "modal mode" with this line in the configuration:
@@ -22,7 +21,7 @@ modal = true
If `modal` isn't set to `true`, the single letter shortcuts you define in configuration will be ignored (so you don't have to remove them if you don't want modality anymore).
-## Usage
+# Usage
Broot may be in one of two modes:
@@ -36,6 +35,6 @@ In *command* mode, you'll find those keys already configured:
You enter *input* mode by typing one of those letters: ` ` (space), `:`, or `/`. You leave it with the `escape` key. You may add other bindings to the `:mode_input` and `:mode_command` verbs.
-## Experimentation
+# Experimentation
-This "vim mode" is still experimental. If you tried it, or use it, I'd like your feedback on [Miaou](https://miaou.dystroy.org/3490).
+This "modal mode" is still experimental. If you tried it, or use it, I'd like your feedback on [Miaou](https://miaou.dystroy.org/3490).