Tuesday, July 9, 2019

Re: follow link on internet with vim

On 7/9/19 11:09 AM, Enno wrote:
> Le mardi 9 juillet 2019 10:32:52 UTC-3, Tony Mechelynck a écrit :
>> On Tue, Jul 9, 2019 at 2:56 PM Mathieu Roux wrote:
>>>
>>> Hello,
>>>
>>> Is it possible to follow a link with vim? for exemple, if my cursor is
>>> on https://fr.wikipedia.org/wiki/Vim
>>> i want to use my browser to go to this website.
>>>
>>> By the same way, i can open a file with "gf" if my cursor is on the
>>> file's name. But i don't know how to follow a link.
>>>
>>> Best regards,
>>> Mathieu
>>
>> I don't know if it is possible, but I know where to find the answer:
>>
>> :help netrw
>>
>>
>> Best regards,
>> Tony.
>
> Thus, if elinks is installed, then typing `gf` will open the link as text in Vim.
> Typing `gx` will open it with the program attached to links in the OS. On Linux, if one does not use Gnome or KDE desktop environment, then adding
>
> let g:netrw_browsex_viewer = "xdg-open"
>
> to the vimrc seems necessary.
>


this is stupid. Use a WP

--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013

--
--
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/ec415ab4-1930-1e6a-2c42-6edbf15fc731%40my.liu.edu.
For more options, visit https://groups.google.com/d/optout.

No comments: