Friday, September 27, 2019

Re: Best way to launch a URL from within VIM

On Fr, 27 Sep 2019, 'J S' via vim_use wrote:

> Vim 7.something under (MS) Windows 7.
>
> I want to do the equivalent of:
>
> :!start http://something
>
> But that doesn't work.
>
> This *does* work, but it is ugly (and opens lots of command prompt windows and requries a few "press any key to continues"s. Also, it seems to run CMD twice - i.e., you end up running:
>
> cmd /c cmd /c start ...
>
> :!cmd /c start http://something
>
> I seek a simpler and, ideally, seamless (i.e., no "press any key"s) way.

Isn't that what netrw's normal command `gx` provides?

Best,
Christian
--
Das Gesetz macht alle auf erhabene Weise gleich: Es verbietet allen
Menschen unter Brücken zu schlafen und Brot zu stehlen - den Armen
ebenso wie den Reichen.
-- Anatole France

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20190927075247.GB5154%40256bit.org.

No comments:

Post a Comment