On 17/02/2016 11:29 p.m., Ben Fritz wrote:
> On Wednesday, February 17, 2016 at 4:55:45 PM UTC-6, andalou wrote:
>> I'm using vim 7.4.1345 on Windows 7.
>>
>> If I have a file foobar.txt containing the line
>> main.c:26
>> and I do gF on it, I get:
>>
>> E447: Can't find file "main.c:26" in path
>>
>> It only works if I have
>> main.c
>> and do gf on it.
>>
>> foobar.txt is located on the same directory as main.c
>
> In Windows, the ':' character is included in 'isfname' so that you can
> use paths like "C:\Path\To\File.txt".
>
> If you use ":set isfname-=:" you can use gF like you want but you may
> get surprises with some of the absolute paths like above.
If I use "set isfname-=:" gF works, but "{visual} gF" doesn't work!
I get the same error:
E447: Can't find file "main.c:26" in path
--
Cesar
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment