Hi.
I really like the fuzzyfinder plugin, but when my project is located 
within a mediumly deep directory structure, the matched pathnames that 
it displays in its dropdown are absolute, and hence too long to see what 
I'm doing:

(see attached fuzzyfind.png, also linked here in case the mailing list 
scrubs attachments)
http://tartley.com/files/fuzzyfind.png

On this screenshot, the current dir is F:\Documents and 
Settings\jhartley\docs\projects\SoleScion.

I'd like the dropdown to display only relative paths from the cwd, (eg. 
so the first entry in the dropdown would look like:

  22: build\dist.win32\build\bdist.win32\winexe\collect-2.5\pyglet\image\

(ie. without the leading 'F:\Documents and 
Settings\jhartley\docs\projects\SoleScion'. Still a mouthfull, but 
better than currently.)

It looks like the displayed paths in the drop-down are expanded to 
absolute paths whenever the given pattern contains '**' (which is of 
course required to find files in subdirs). Relative paths are displayed 
in the dropdown otherwise.

I've examined the config options to fuzzyfinder, but don't see anything 
relevant there, and am starting to get into the fuzzyfinder source code, 
although I'm finding that very hard going.

I'm on Windows XP, Vim7.2, fuzzyfinder 2.16

The fuzzyfinder options I've set (in _gvimrc, it complains that plugin 
is not loaded yet if I put this in _vimrc) look like:

let g:FuzzyFinderOptions.File.excluded_path = 
'\v\~$|\.o$|\.exe$|\.bak$|\.swp$|((^|[/\\])\.{1,2}[/\\]$)|\.pyo$|\.pyc$|\.svn[/\\]$'
let g:FuzzyFinderOptions.File.min_length = 3
let g:FuzzyFinderOptions.Tag.min_length = 3

Thanks for any ideas or assistance,

    Jonathan

-- 
Jonathan Hartley  [email protected]
+44 7737 062 225  http://tartley.com
twitter: tartley  bio: Made of Meat.



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

<<inline: fuzzyfind.png>>

Reply via email to