Srinivas Rao. M wrote:
> Hello vimmers,
>    I want to know if there is a way i can use 'gf' command to goto the
> file under the cursor, which is having the 
>
> I have a string under my cursor as :
>
>     somefile.c:1022
>
> Where the field after ':' is the line number. Can i use the 'gf' command
> to goto that line number of that file. Assume that somefile.c's folder
> is added to "path" variable.
No need for plugins or functions, it's already there:

:help gF

HTH
Niels

Reply via email to