On Jul 8, 1:50 am, sinbad <[email protected]> wrote:
> hi,
>
> i've a huge files. i want to open any file without actually entering
> the
> full path of the file.my idea is to have a full path file names in a
> file
> and i want vim to search through the file for the matching string i
> enter
> and use that path to open the file. how can this be achieved or are
> there
> any better ways of doing this.
>

I have a vim script that basically consists of a bunch of :set path
+=some/commonly/used/path statements. I :source this in my .vimrc.
When I want to open a file in one of these commonly used directories,
I just use :find filename.ext (or :sfind or :tabfind). Would this
approach work for you?

-- 
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

Reply via email to