Re: question on gf and path

2006-12-04 Thread Ben K.
It worked and I appreciate the simpleness. Thanks. On Fri, 1 Dec 2006, Tim Chase wrote: Is there a way to make gf open some.file from this line? Include(/includes/some.file); where the file is actually sitting under web server root, like /var/www/html/includes/some.file I tried adding

Re: question on gf and path

2006-12-04 Thread Ben K.
Thanks. On Sat, 2 Dec 2006, Marc Weber wrote: On Fri, Dec 01, 2006 at 10:30:26AM -0600, Ben K. wrote: Is there a way to make gf open some.file from this line? Include(/includes/some.file); where the file is actually sitting under web server root, like

question on gf and path

2006-12-01 Thread Ben K.
Is there a way to make gf open some.file from this line? Include(/includes/some.file); where the file is actually sitting under web server root, like /var/www/html/includes/some.file I tried adding /var/www/html to the :set path but vim will not recognize it. /var/www/html/;

Re: question on gf and path

2006-12-01 Thread Yakov Lerner
On 12/1/06, Ben K. [EMAIL PROTECTED] wrote: Is there a way to make gf open some.file from this line? Include(/includes/some.file); where the file is actually sitting under web server root, like /var/www/html/includes/some.file I tried adding /var/www/html to the :set path

Re: question on gf and path

2006-12-01 Thread Ben K.
On Fri, 1 Dec 2006, Yakov Lerner wrote: Also can be that leading '/' in /includes/some.file makes vim believe this is absolute pathname. Try on Include(includes/some.file); That's where I want to get advice... That notation using DocumentRoot like /includes/some.file is universal in web

Re: question on gf and path

2006-12-01 Thread Yegappan Lakshmanan
Hi, On 12/1/06, Ben K. [EMAIL PROTECTED] wrote: Is there a way to make gf open some.file from this line? Include(/includes/some.file); where the file is actually sitting under web server root, like /var/www/html/includes/some.file I tried adding /var/www/html to the :set

Re: question on gf and path

2006-12-01 Thread Ben K.
I'll check it out. Thanks. On Fri, 1 Dec 2006, Yegappan Lakshmanan wrote: Hi, On 12/1/06, Ben K. [EMAIL PROTECTED] wrote: Is there a way to make gf open some.file from this line? Include(/includes/some.file); where the file is actually sitting under web server root, like

Re: question on gf and path

2006-12-01 Thread Tim Chase
Is there a way to make gf open some.file from this line? Include(/includes/some.file); where the file is actually sitting under web server root, like /var/www/html/includes/some.file I tried adding /var/www/html to the :set path but vim will not recognize it. /var/www/html/; was the same.

Re: question on gf and path

2006-12-01 Thread Marc Weber
On Fri, Dec 01, 2006 at 10:30:26AM -0600, Ben K. wrote: Is there a way to make gf open some.file from this line? Include(/includes/some.file); where the file is actually sitting under web server root, like /var/www/html/includes/some.file I tried adding /var/www/html to

Re: question on gf and path

2006-12-01 Thread Marc Weber
Include(includes/some.file) it's somewhat OK, but gf requires me to actually save the source file before it will accept the change from /includes... to includes. Do I have missed something or would set nocompatible first line in your .vimrc ! set hidden prevent vim