Minor documentation updates (#767)

This commit is contained in:
onkelT2 2023-03-08 21:20:39 +01:00 committed by GitHub
parent 00f7312254
commit afd1113b3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -109,7 +109,7 @@ Which search mode to use. Atuin supports "prefix", fulltext and "fuzzy" search
modes. The prefix searches for "query\*", fulltext "\*query\*", and fuzzy applies modes. The prefix searches for "query\*", fulltext "\*query\*", and fuzzy applies
the search syntax [described below](#fuzzy-search-syntax). the search syntax [described below](#fuzzy-search-syntax).
Defaults to "prefix" Defaults to "fuzzy"
### `style` ### `style`
@ -153,6 +153,8 @@ Accepts exactly the same options as `filter_mode` above
filter_mode_shell_up_key_binding = "session" filter_mode_shell_up_key_binding = "session"
``` ```
Defaults to the value specified for filter_mode.
### `exit_mode` ### `exit_mode`
What to do when the escape key is pressed when searching What to do when the escape key is pressed when searching

View file

@ -99,7 +99,7 @@ key = "~/.atuin-session"
поиск по "запрос\*", "fulltext" по "\*запрос\*", и "fuzzy" использует поиск по "запрос\*", "fulltext" по "\*запрос\*", и "fuzzy" использует
[вот такой](#fuzzy-search-syntax) синтаксис. [вот такой](#fuzzy-search-syntax) синтаксис.
По умолчанию стоит значение "prefix" По умолчанию стоит значение "fuzzy"
### `filter_mode` ### `filter_mode`

View file

@ -91,7 +91,7 @@ key = "~/.atuin-session"
使用哪种搜索模式。Atuin 支持 "prefix"(前缀)、"fulltext"(全文) 和 "fuzzy"(模糊)搜索模式。前缀(prefix)搜索语法为 "query\*",全文(fulltext)搜索语法为 "\*query\*",而模糊搜索适用的搜索语法 [如下所述](#fuzzy-search-syntax) 。 使用哪种搜索模式。Atuin 支持 "prefix"(前缀)、"fulltext"(全文) 和 "fuzzy"(模糊)搜索模式。前缀(prefix)搜索语法为 "query\*",全文(fulltext)搜索语法为 "\*query\*",而模糊搜索适用的搜索语法 [如下所述](#fuzzy-search-syntax) 。
默认配置为 "prefix" 默认配置为 "fuzzy"
### `filter_mode` ### `filter_mode`