126773Re: Cannot use gf to go to file, path seems set
- Nov 1 8:24 AMOn Nov 1, 8:32 am, Dotan Cohen <dotanco...@...> wrote:
> On Tue, Nov 1, 2011 at 01:06, Gary Johnson <garyj...@...> wrote:gf works also on a visual selection. Select just what you want to
> > The problem is that that last segment of the path name,
> > /includes/functions_misc.php, begins with a "/" which Vim
> > understands to mean the beginning of an absolute path. See
> > :help 'path'
> i see, Gary, that makes sense. Is there any workaround? This is a huge
> (>80000 files) application, full of include()s and require()s.
find, relative to one of the directories in your path, in visual mode.
THEN press gf.
This is also the best way to use gf on filenames with spaces or other
special characters (not in 'isfname'), incidentally.
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
- << Previous post in topic Next post in topic >>