Wednesday, April 20, 2016

Re: Using gx with text-only browser

Peter King wrote:
> I usually use nvim at the console and would like to set gx to open a URL
> under the cursor with /usr/bin/links. I have tried setting these options:
>
> let netrw_browsex_viewer=``/usr/bin/links''
> let netrw_http_cmd=``links''
>
> All that happens, though, is that the console screen blinks while the
> lookup silently fails. If anyone could suggest the correct way to do
> this I'd appreciate it.
>
> (BTW when I run nvim in an xterm, gx calls up chrome with no problems.)
>
See g:netrw_suppress_gx_mesg in v156, which you can get from my
website: http://www.drchip.org/astronaut/vim/index.html#NETRW.

Regards,
Chip Campbell

--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments: