On 2010-07-07, sinbad 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.

You can use ctags with the --extra=+f option to generate a tags file
that includes the base name of every source file searched.  Then you
can use Vim's tags functions to jump to the file, e.g.,

    :tag foo.c

Regards,
Gary

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