On 31/12/10 18:37, H Xu wrote:
Hello,
"vimdiff" doesn't work when the arguments are urls. For example,
"vimdiff /home/user/a.c /home/user/b.c" works, but "vimdiff
file:///home/user/a.c file:///home/user/b.c" doesn't work.
Tested under Linux.
Regards,
Hong Xu
01/01/2011
Recognising URLs is the job of the netrw plugin, which (like all
plugins) is only sourced at the end of startup.
I think it would work if you started Vim empty, then issued the commands
:e http://server1/path1/subpath1/file1.c
:vert diffsplit http://server2/path2/subpath2/file2.c
within the running Vim. (file: URLs can always be simplified to local
paths, which Vim can then load with no help from netrw.)
Best regards,
Tony.
--
She missed an invaluable opportunity to give him a look that you could
have poured on a waffle ...
--
You received this message from the "vim_dev" 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