From afd1113b3b0301795f3557feb94f7d7f953c5f9c Mon Sep 17 00:00:00 2001 From: onkelT2 <126604057+onkelT2@users.noreply.github.com> Date: Wed, 8 Mar 2023 21:20:39 +0100 Subject: [PATCH] Minor documentation updates (#767) --- docs/docs/config/config.md | 4 +++- docs/ru/config_ru.md | 2 +- docs/zh-CN/config.md | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/docs/config/config.md b/docs/docs/config/config.md index 88f14afe..b5321f21 100644 --- a/docs/docs/config/config.md +++ b/docs/docs/config/config.md @@ -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 the search syntax [described below](#fuzzy-search-syntax). -Defaults to "prefix" +Defaults to "fuzzy" ### `style` @@ -153,6 +153,8 @@ Accepts exactly the same options as `filter_mode` above filter_mode_shell_up_key_binding = "session" ``` +Defaults to the value specified for filter_mode. + ### `exit_mode` What to do when the escape key is pressed when searching diff --git a/docs/ru/config_ru.md b/docs/ru/config_ru.md index bf982fe8..7cf844c5 100644 --- a/docs/ru/config_ru.md +++ b/docs/ru/config_ru.md @@ -99,7 +99,7 @@ key = "~/.atuin-session" поиск по "запрос\*", "fulltext" по "\*запрос\*", и "fuzzy" использует [вот такой](#fuzzy-search-syntax) синтаксис. -По умолчанию стоит значение "prefix" +По умолчанию стоит значение "fuzzy" ### `filter_mode` diff --git a/docs/zh-CN/config.md b/docs/zh-CN/config.md index 7611f888..3aa63a9e 100644 --- a/docs/zh-CN/config.md +++ b/docs/zh-CN/config.md @@ -91,7 +91,7 @@ key = "~/.atuin-session" 使用哪种搜索模式。Atuin 支持 "prefix"(前缀)、"fulltext"(全文) 和 "fuzzy"(模糊)搜索模式。前缀(prefix)搜索语法为 "query\*",全文(fulltext)搜索语法为 "\*query\*",而模糊搜索适用的搜索语法 [如下所述](#fuzzy-search-syntax) 。 -默认配置为 "prefix" +默认配置为 "fuzzy" ### `filter_mode`