You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It would be great to be able to choose not to invoke fzf with the --exact option as this disables the fuzzy finding capabilities which are extremely useful.
Describe the solution you'd like
Don't invoke fzf with --exact by default. I think this is something that people can add with --fzf-overrides.
Describe alternatives you've considered
If you don't want to change the default behaviour, it could be a flag along the lines of --fzf-fuzzy-enable or something.
The text was updated successfully, but these errors were encountered:
Ah yea, that works! I was trying that with the environment variable but it wasn't working:
# This didn't work
FZF_DEFAULT_OPTS=" --no-exact" navi --print
# Neither did this
export FZF_DEFAULT_OPTS=" --no-exact"
navi --print
# but your suggestion of the override flag does work
navi --print --fzf-overrides ' --no-exact'
Am I using the environment variable incorrectly or is it just not working properly? I'd like to set it in my .zshrc =]
`$FZF_DEFAULT_OPTS` won't work in some use cases because it has lower precedence then hardcoded settings such as `--exact`.
Usage:
```
export NAVI_FZF_OVERRIDES=" --no-exact"
navi
```
Fixes#232
Is your feature request related to a problem? Please describe.
It would be great to be able to choose not to invoke
fzf
with the--exact
option as this disables the fuzzy finding capabilities which are extremely useful.navi/src/fzf.rs
Line 55 in 4dffbe6
Describe the solution you'd like
Don't invoke
fzf
with--exact
by default. I think this is something that people can add with--fzf-overrides
.Describe alternatives you've considered
If you don't want to change the default behaviour, it could be a flag along the lines of
--fzf-fuzzy-enable
or something.The text was updated successfully, but these errors were encountered: