commit d23b5bcfbffa2964dfe7e2a637fd3a0fbc5e8da1
parent 8c5d5eff4bcb0dc295ce1afc3246c73192e90116
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Fri, 23 Oct 2020 17:29:14 +0200
w3m: key bindings to open stuff in the GUI browser
Former-commit-id: a90c78196c870d3f16dd20b46cd9f5244cb8dac8
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/w3m/keymap b/w3m/keymap
@@ -16,6 +16,10 @@ keymap C-b PREV_PAGE
keymap C-d NEXT_HALF_PAGE
keymap C-u PREV_HALF_PAGE
keymap SPCr PIPE_SHELL 'python3 -W ignore -m readability.readability -u $W3M_URL | w3m -config ~/.config/w3m/config -T text/html -cols $(($(tput cols)*6/10))'
+keymap SPCo EXEC_SHELL 'open "$W3M_URL"'
+keymap SPCt EXEC_SHELL 'open "$W3M_CURRENT_LINK"'
+keymap SPCy EXEC_SHELL 'printf "%s" $W3M_CURRENT_LINK | clc'
+keymap SPCc EXEC_SHELL 'printf "%s" $W3M_URL | clc'
keymap C-w CLOSE_TAB
keymap C-t NEW_TAB
keymap gt NEXT_TAB