set protocol.rewrite.smart.r = "http://groups.google.com/groups?q=%s" (google group search) set protocol.rewrite.smart.s = "http://www.search.ch/search?q=%s" (swiss search machine) set protocol.rewrite.dumb.v = "http://validator.w3.org/check?verbose=1&uri=%c" (validate Page)
set document.browse.links.numbering = 1needs to be toggled on. Once you're used to type the numbers, you might be able to access any links withing an eye-blink. You can toggle that in the menu:
View -> Toggle link numbering
#!/bin/sh
<path-to-binary>/firefox -a firefox -remote "openURL("$@",new-tab)" >/dev/null ||
exec <path-to-binary>/firefox "$@";
I named that startup script 'ffox' and put it into the
$PATH.Elinks-Menu -> Setup -> Option Manager -> Document -> URI PassingThere click on 'ADD', select a name for that item (e.g. opera resp. ffox), then press 'EDIT' on that new created item and fill the value box with e.g: 'opera %c 2>/dev/null' respectively 'ffox %c 2>/dev/null'.
Elinks-Menu -> Setup -> keybinding Manager -> Main Mapping -> Pass URI of current tab to external command (tab-external-command)There click on 'ADD', and fill the Edit-Box with whatever keybinding you prefer (in my case it's a 'e').
set document.uri_passing.opera = "opera %c 2>/dev/null" set document.uri_passing.ffox = "ffox %c 2>/dev/null" bind "main" "e" = "tab-external-command"
#!/bin/sh
if pgrep "^elinks$"; then
exec urxvt -fg yellow -bg black -g 113x51 -e elinks -remote "openURL($*, new-tab)";
else
exec urxvt -fg yellow -bg black -g 113x51 -e elinks "$*";
fi
May call that elinks-start, make it executable (e.g. chmod
a+x elinks-start) and put it anywhere into your $PATH.tools -> preferences -> shortcuts -> key-setup-nameopen the 'Application' group, click on 'New', define a suitable keybinding/shortcut - in my case it's an 'e'. As 'action' may write there:
Execute program, "elinks-start","%u"
#!/bin/bash /usr/local/bin/rxvt -e /usr/local/bin/elinks $1 &
<?xml version="1.0" encoding="UTF-8"?>
<configurations xmlns="http://launchy.mozdev.org/configurations">
<application>
<label>Elinks</label>
<type>1</type>
<command>/home/calmar/bin/mk_elinks_open_url</command>
<arguments></arguments>
</application>
</configurations>
May send comments to: mac@calmar.ws, thanks!