diff options
Diffstat (limited to 'neovim/.config/nvim/lua/plugins/fuzzyfinder.lua')
| -rw-r--r-- | neovim/.config/nvim/lua/plugins/fuzzyfinder.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/neovim/.config/nvim/lua/plugins/fuzzyfinder.lua b/neovim/.config/nvim/lua/plugins/fuzzyfinder.lua new file mode 100644 index 0000000..444d9ff --- /dev/null +++ b/neovim/.config/nvim/lua/plugins/fuzzyfinder.lua | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | return { | ||
| 2 | "ctrlpvim/ctrlp.vim", | ||
| 3 | init = function() | ||
| 4 | -- Use ripgrep for listing files (fast, respects .gitignore) | ||
| 5 | if vim.fn.executable("rg") == 1 then | ||
| 6 | vim.g.ctrlp_user_command = 'rg %s --files --color=never --glob ""' | ||
| 7 | vim.g.ctrlp_use_caching = 0 | ||
| 8 | end | ||
| 9 | end, | ||
| 10 | } | ||
