> I'm going nuts with fuzzy finder trying to get it search from the current
> directory I'm in and any subdirectories.
>
> From what I've googled, I've found that I should be able to set up:
>
> map <leader>f :FufFile \*\*\/<CR>
>
> However, whatever directory I launch vim from, the fuzzy file search now
> starts from the root of my Mac. I tried adding a dot in front to see if that
> would help but it didn't. How do I get fuzzy finder to just search from the
> current directory that vim is launched from and down?
I use the following:
nnoremap <silent> ,f :FufFile<CR>
" a leading space allows a recursive search
let g:fuf_abbrevMap = {
\ "^ " : [ "**/", ],
\ }
So by default, typing in a partial name only searches the current
directory. By prefixing with a leading space, the name is matched in
all directories down from the current directory as well.
For more information about how this works, see -
:help starstar
:help fuf-multiple-search
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php