From 2a87d5ec08e8a3f89b8fed807f62f696f2764205 Mon Sep 17 00:00:00 2001 From: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com> Date: Sun, 9 Feb 2025 14:46:11 +0100 Subject: [PATCH] Update Navi's configuration documentation Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com> --- docs/navi_config.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/navi_config.md b/docs/navi_config.md index 553c850..b8ee9ec 100644 --- a/docs/navi_config.md +++ b/docs/navi_config.md @@ -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: +``` + +> [!CAUTION] +> Defining the delimiter via the configuration file means that Navi will use this delimiter by default for +> every variable using the `--column` instruction.