Add style to config.toml and config.md (#552)

* Add `style` to config.toml

* Add `style` to config.md

* Update atuin-client/config.toml

Co-authored-by: Conrad Ludgate <oon@conradludgate.com>

Co-authored-by: Conrad Ludgate <oon@conradludgate.com>
This commit is contained in:
xfzv 2022-10-05 12:14:56 +00:00 committed by GitHub
parent 634b3e375f
commit eadf573670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -26,3 +26,7 @@
## which search mode to use
## possible values: prefix, fulltext, fuzzy
# search_mode = "prefix"
## which style to use
## possible values: auto, full, compact
#style = "auto"

View File

@ -102,6 +102,20 @@ the search syntax [described below](#fuzzy-search-syntax).
Defaults to "prefix"
### `style`
Which style to use. Possible values: `auto`, `full` and `compact`.
- `compact`:
![image](https://user-images.githubusercontent.com/1710904/161623659-4fec047f-ea4b-471c-9581-861d2eb701a9.png)
- `full`:
![image](https://user-images.githubusercontent.com/1710904/161623547-42afbfa7-a3ef-4820-bacd-fcaf1e324969.png)
Defaults to `auto`.
### `filter_mode`
The default filter to use when searching