David Barnett wrote:
I've implemented my own BufReadCmd autocmds to fetch certain remote files, similar to 
"scp://".

In normal mode, I can put the cursor over "scp://127.0.0.1/foo.txt" and type 
"gf" and it will correctly use netrw to fetch the file over SSH. But in my case, I see
   E447: Can't find file "my_scheme://127.0.0.1/foo.txt" in path

Is there a way I can register my patterns so that I can use "gf" without vim 
searching my path?

Check out how netrw does it -- see netrwPlugin.vim . Essentially, it involves making an appropriate autocmd.

Regards,
C Campbell

--
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

Reply via email to