Re: Filename completion with all directories in 'path'?

2007-04-23 Thread Ben Kovitz

On Apr 19, 2007, at 7:12 PM, Jean-Rene David wrote:


Is there a way to make filename completion
(pressing tab at the command line in :find) use
all the directories in the 'path'?


Not exactly what you ask, but here is a nice
little script I use quite a bit which you might
find helpful:

http://www.vim.org/scripts/script.php?script_id=1581


Thank you, Jean-Rene.  I will give this a try.

Ben



Filename completion with all directories in 'path'?

2007-04-19 Thread Ben Kovitz
Is there a way to make filename completion (pressing tab at the command 
line in :find) use all the directories in the 'path'?


A little background: I have unit tests in one directory, and mainline 
code in a separate directory.  This is needed for source-code control 
and other things.  But it would be nice if, in vim, I could pretend 
that everything is in one directory.  I've done :set 
path=unit/test/dir,main/code/dir and stuff like ]f and :find works 
fine.  It's just a little jarring that pressing tab when I type :fin 
only runs through the files in the directory I started in.


Ben Kovitz



Re: Filename completion with all directories in 'path'?

2007-04-19 Thread Jean-Rene David
* Ben Kovitz [2007.04.19 20:00]:
 Is there a way to make filename completion
 (pressing tab at the command line in :find) use
 all the directories in the 'path'?

Not exactly what you ask, but here is a nice
little script I use quite a bit which you might
find helpful:

http://www.vim.org/scripts/script.php?script_id=1581

HTH,

-- 
JR