summaryrefslogtreecommitdiffstats
path: root/website/docs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-05-12 20:28:58 +0200
committerCanop <cano.petrole@gmail.com>2021-05-12 20:28:58 +0200
commit872c9cd2f0f9587a5a6e9bcff9605dd0f4d46832 (patch)
tree6dbbfd676a8cb05dd60c8b992d149d40fa64fd60 /website/docs
parent779790f68e48b1209ec7483233d6fb7534faba7e (diff)
raise an error on invalid search modes
(instead of replacing the unrecognized token with the default kind or object)
Diffstat (limited to 'website/docs')
-rw-r--r--website/docs/conf_file.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/website/docs/conf_file.md b/website/docs/conf_file.md
index 49da32d..d62bad9 100644
--- a/website/docs/conf_file.md
+++ b/website/docs/conf_file.md
@@ -98,7 +98,10 @@ It's possible to redefine the mode mappings, for example if you usually prefer t
"z/" = "regex path"
```
-Note: I'd insist on you not overwriting default mode mappings before you master how broot is used and what those modes exactly work.
+The search mode must be made of two parts :
+
+* the search kind: Either `exact`, `fuzzy`, `regex`, or `tokens`
+* the search object: Either `name`, `path`, or `content`
# Quit on last cancel