Tuesday, November 1, 2011

Re: Cannot use gf to go to file, path seems set

On Tue, Nov 1, 2011 at 17:24, Ben Fritz <fritzophrenic@gmail.com> wrote:
> gf works also on a visual selection. Select just what you want to
> 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.
>

Thanks. As there are no incidences of an absolute path in this or any
other PHP application (in the name of portability), I am trying to
overload gf to remove the leading slash if one exists. I am having a
hard time with the regex as I am rather inexperienced in this. Are
there any fine manuals that I should be reading? Also, I should be
using nmap, right?

Thanks.


--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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