Recognising URLs is the job of the netrw plugin, which (like all
plugins) is only sourced at the end of startup.
The implication that BufReadCmd automatic commands don't work at
start-up is not true. My notes.vim plug-in registers a "pseudo protocol"
(note:) using a BufReadCmd* automatic command and this works fine in
command arguments. In fact using it from the command line was one of my
main use cases because it enables me to do this:
$ gvim note:todo
And I have my to-do list in front of me :-)
- Peter Odding
* https://github.com/xolox/vim-notes/blob/master/notes.vim#L60
--
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