Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vim fuzzy finder subdirectory search?

Tags:

vim

Is there anyway to ask Fuzzy Finder plugin for VIM search subdirectory as well? It appears to me that no matter what mode I am in, it either search current directory, or I have to be explicit on subdirectory name for it to dive in.

Another plugin folks here mentioned in fuzzy finder textmate plugin. Unfortunately, this plugin doesn't work with current version of vim-fuzzy finder, or so it appears to me.

Any suggestions?

TIA

Oliver

like image 864
Oliver Avatar asked Apr 14 '10 03:04

Oliver


2 Answers

Use ** to have it recurse down directories.

like image 170
jamessan Avatar answered Oct 24 '22 02:10

jamessan


I use tag mode provided by fuzzyfinder to simulate behavior of Textmate. in short, generate an extra tags file with file's base name as tag, then you can locate any files in the tags file directly by file's base name.

The only drawback is you need to update the file tags file, this is a script for that.

I have been using this method for several months and it works almost perfect.

I summarize my method here

like image 30
Vincent Avatar answered Oct 24 '22 02:10

Vincent