mirror of
https://github.com/denisidoro/navi.git
synced 2026-01-23 02:14:19 +00:00
Update Navi's configuration documentation
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
This commit is contained in:
parent
dc59652642
commit
2a87d5ec08
1 changed files with 18 additions and 0 deletions
|
|
@ -6,6 +6,8 @@
|
|||
- [Changing colors](#changing-colors)
|
||||
- [Resizing columns](#resizing-columns)
|
||||
- [Overriding fzf options](#overriding-fzf-options)
|
||||
- [Defining your own delimiter](#defining-your-own-delimiter)
|
||||
|
||||
|
||||
# Paths and Environment Variables
|
||||
|
||||
|
|
@ -92,3 +94,19 @@ FZF_DEFAULT_OPTS="--height 3" navi
|
|||
```
|
||||
|
||||
In addition, this can be set by properly configuring _navi_'s `config.yaml`. Please check `navi --help` for more instructions.
|
||||
|
||||
## Defining your own delimiter
|
||||
|
||||
Navi allows you to define your own delimiter to parse the selected result for a variable in your cheats.\
|
||||
It is equivalent to defining `--delimiter` used with `--column`.
|
||||
|
||||
You can define it as such:
|
||||
|
||||
```yaml
|
||||
finder:
|
||||
delimiter_var: <your-regex-delimiter>
|
||||
```
|
||||
|
||||
> [!CAUTION]
|
||||
> Defining the delimiter via the configuration file means that Navi will use this delimiter by default for
|
||||
> every variable using the `--column` instruction.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue