126760Re: Cannot use gf to go to file, path seems set
- Oct 31, 2011On 2011-11-01, Dotan Cohen wrote:
> I have this line in some PHP code:The problem is that that last segment of the path name,
> require_once(DIR . '/includes/functions_misc.php');
> DIR is actually /var/www/html/forum/
> I have set my path to be the include-all monster:
> :set path=.,/var/www/html,/var/www/html/forum,/var/www/html/forum/includes
> However, gf insists that it cannot find the file. I did try each value
> of the path my itself, still no good. What might I be doing wrong? VIM
> 7.x, CentOS 5.x.
/includes/functions_misc.php, begins with a "/" which Vim
understands to mean the beginning of an absolute path. See
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 >>