diff options
author | Dieter Eickstaedt <eickstaedt@deicon.de> | 2023-09-17 20:30:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-17 19:30:13 +0100 |
commit | ebef5cdaf018f2bb03682eb516412ce4151297aa (patch) | |
tree | a1ba2031a4317e808226903f74316e7bcbd4eff9 /docs | |
parent | 15abf429842969e56598b1922a21693a7253f117 (diff) |
feat(keyup): Configure SearchMode for KeyUp invocation #1216 (#1224)
* feat(keyup): Configure SearchMode for KeyUp invocation #1216
* docs: adjusted search mode documentation
* feat: setting search mode on engine
* chore: cargo fmt
* chore: removed redundant field name
Diffstat (limited to 'docs')
-rw-r--r-- | docs/docs/config/config.md | 12 | ||||
-rw-r--r-- | docs/docs/key-binding.md | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/docs/docs/config/config.md b/docs/docs/config/config.md index 1f2953346..5f54790c6 100644 --- a/docs/docs/config/config.md +++ b/docs/docs/config/config.md @@ -154,6 +154,18 @@ Filter modes can still be toggled via ctrl-r filter_mode = "host" ``` +### `search_mode_shell_up_key_binding` + +The default searchmode to use when searching and being invoked from a shell up-key binding. + +Accepts exactly the same options as `search_mode` above + +``` +search_mode_shell_up_key_binding = "fuzzy" +``` + +Defaults to the value specified for search_mode. + ### `filter_mode_shell_up_key_binding` The default filter to use when searching and being invoked from a shell up-key binding. diff --git a/docs/docs/key-binding.md b/docs/docs/key-binding.md index c39319774..fd295007d 100644 --- a/docs/docs/key-binding.md +++ b/docs/docs/key-binding.md @@ -8,7 +8,7 @@ Atuin does not yet have full key binding customization, though we do allow some ## Custom up arrow filter mode -It can be useful to use a different filter mode on the up arrow. For example, you could use ctrl-r for searching globally, but the up arrow for searching history from the current directory only. +It can be useful to use a different filter or search mode on the up arrow. For example, you could use ctrl-r for searching globally, but the up arrow for searching history from the current directory only. Set your config like this: |