":help gf" says:
Uses the 'isfname' option to find out which characters
are supposed to be in a file name.
My 'isfname' includes '=', even though I don't think I have ever seen a file
with '=' in the name. If you want to disable this behaviour then add this to
your .vimrc.
set isfname-==
Yes, that is two '=' characters :)
If you only want that behaviour in shell script files then put it in some
filetype specific plugin or something. I would just put it in the .vrimc if I
were you.
Max
> -----Original Message-----
> From: Ben K. [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 26, 2006 3:40 PM
> To: [email protected]
> Subject: gf question
>
>
> Vimmers,
>
> I find gf very convenient, but with shell scripts, I'd like a different
> behavior:
>
> In shell scripts, there should be no spaces around "=".
>
> progname=/usr/local/txserver
>
> Then if I do gf on /usr/local/txserver, vim thinks the whole line
> (including progname=) is the pathname and gives me a not-found error.
>
> Is there a way to change that?
>
>
> Regards,
>
> Ben K.
> Developer
> http://benix.tamu.edu