cloudhead / neovim-fuzzy

Minimalistic fuzzy file finding for neovim
BSD 3-Clause "New" or "Revised" License
111 stars 17 forks source link

:FuzzyOpen searches in root directory #36

Closed spf3000 closed 6 years ago

spf3000 commented 6 years ago

Hi I installed this on Ubuntu and it works great - on my mac though - whenever I use :FuzzyOpen it starts the search from the root directory - rather than my current directory. It's possible it's something in my setup but I can't think what - my init.vim is the same for both machines.

cloudhead commented 6 years ago

By default, it will look for the closest .git directory to start from. Could that be it? If you create a git or hg repo then it will use that as the root.

spf3000 commented 6 years ago

Err, yes that was it. Somehow I had put my root as a git directory! I feel silly but also very relieved. Thanks!