How Does One Refresh the File List Using FuzzyFinder in Vim?
Asked Answered
S

3

5

Using the FuzzyFinder plugin in Vim, how does one regenerate the file list displayed?

Shere answered 25/7, 2009 at 16:34 Comment(0)
S
1

Try this:

 :ruby finder.rescan!

You can map that to something if you need to do it often.

Shela answered 25/7, 2009 at 16:47 Comment(2)
You can map to F12 key with: :map <special> <F12> :ruby finder.rescan!<ENTER>Mclendon
When I try this, I get "NameError: undefined local variable or method `finder' for main:Object".Batory
S
22

Fuzzy Finder has a command called :FufRenewCache

Earlier versions of Fuzzy Finder had something similar, but I can't remember the command now.

Just try typing

:Fuf or :FuzzyFinder

And see what possible commands are shown in Vim.

Saladin answered 9/3, 2010 at 17:32 Comment(0)
S
1

Try this:

 :ruby finder.rescan!

You can map that to something if you need to do it often.

Shela answered 25/7, 2009 at 16:47 Comment(2)
You can map to F12 key with: :map <special> <F12> :ruby finder.rescan!<ENTER>Mclendon
When I try this, I get "NameError: undefined local variable or method `finder' for main:Object".Batory
F
0

You can also disable caching by putting following settings in your .vimrc:

let g:fuf_help_cache_dir = ''
let g:fuf_tag_cache_dir = ''
let g:fuf_taggedfile_cache_dir = ''
Ferwerda answered 22/3, 2011 at 17:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.