Thursday, September 26, 2019

Re: Best way to launch a URL from within VIM

On Fri, Sep 27, 2019 at 06:06:10AM +0000, 'J S' via vim_use wrote:
> Vim 7.something under (MS) Windows 7.
>
> I want to do the equivalent of:
>
> :!start http://something

maybe this works when you specify the right program to launch the URL,
eg. with ':!lynx http://something', provided you installed lynx or any
other browser.

vim has a feature that resembles this: by hitting 'gf' over a filename,
vim opens the file under the cursor.

but...

since vim is a _text editor_, browsing websites isn't a feature I
would expect. the better way IMHO is to launch a second terminal or
window and use a browser to open the URL there, copy content there and
get back to vim. certainly there are other environments that provide the
functionality you describe...

//meine

--
--
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/20190927063850.GA11466%40trackstand.

No comments:

Post a Comment