aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/config.md b/docs/config.md
index 13aabac2..9039e094 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -143,6 +143,21 @@ Filter modes can still be toggled via ctrl-r
search_mode = "fulltext"
```
+### `exit_mode`
+
+What to do when the escape key is pressed when searching
+
+| Value | Behaviour |
+|------------------------- | --------------- |
+| return-original (default) | Set the command-line to the value it had before starting search |
+| return-query | Set the command-line to the search query you have entered so far |
+
+Pressing ctrl+c or ctrl+d will always return the original command-line value.
+
+```
+exit_mode = "return-query"
+```
+
#### `fuzzy` search syntax
The "fuzzy" search syntax is based on the