Search in ignored/excluded directories when nothing found in regular directories #2041
-
I want to achieve a similar behavior as in IntelliJ. Are there any tools to do that? I would assume some sort of callback that has parameters to check if there are any results and then search again with different parameters to include ignored/excluded. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
You can toggle git ignore with alt-i, if you want this to toggle automatically you can hook fzf’s zero event (man fzf) which you can bind via |
Beta Was this translation helpful? Give feedback.
The flag values aren’t hardcoded but there is currently no option to add other flags other than h|i||f.
You can either add a custom fzf header (fzf_opts.--header) or with the latest fzf versions you can also change the border, fzf-lua uses its own neovim float win border but you can disable that with border=none and use fzf’s border instead with whatever values you want via fzf_opts.