Friday, June 3, 2011

reading contents from a file under directories specified by "path" variable

Hi

I know vim supports searching for files in those directories
which are specified by the path variable.
e.g.
:se path=/path/to/dir1,/path/to/dir2
:find file_inside_dir1.txt
(For this find command, auto complete works fine.)

But is there a way for reading in the contents of files present under
directories,
specified by path variable e.g.
:r file_inside_dir<TAB>

P.S: Right now I have to specify full path to read contents of a file,
which at some times is not that efficient.
i.e :r /path/to/dir1/file_inside_dir1

Thanks

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: