Thursday, March 31, 2016

Using gx with text-only browser

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.)

--
Peter King peter.king@utoronto.ca
Department of Philosophy
170 St. George Street #521
The University of Toronto (416)-978-3311 ofc
Toronto, ON M5R 2M8
CANADA

http://individual.utoronto.ca/pking/

=========================================================================
GPG keyID 0x7587EC42 (2B14 A355 46BC 2A16 D0BC 36F5 1FE6 D32A 7587 EC42)
gpg --keyserver pgp.mit.edu --recv-keys 7587EC42

--
--
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: