commit 67c3b8dd61bfa0e3e140e8e3c9b95a39f65d9a61 parent 6e9cc905b59e6569ab9ce7843086634635cb8c64 Author: Alex Balgavy <alex@balgavy.eu> Date: Fri, 2 Sep 2022 12:35:55 +0200 w3m: link hinting toggle Diffstat:
M | w3m/config | | | 2 | +- |
M | w3m/keymap | | | 7 | +++++++ |
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/w3m/config b/w3m/config @@ -6,7 +6,7 @@ target_self 0 open_tab_blank 0 open_tab_dl_list 1 display_link 1 -display_link_number 1 +display_link_number 0 decode_url 1 display_lineinfo 1 ext_dirlist 0 diff --git a/w3m/keymap b/w3m/keymap @@ -74,6 +74,13 @@ keymap SPCu COMMAND 'DOWNLOAD /tmp/w3m_source.html; READ_SHELL ~/.config/w3m/cgi keymap SPC, COMMAND 'SHELL "vim -o ~/.config/w3m/{keymap,config}"; REINIT' keymap xs COMMAND 'READ_SHELL ~/.config/w3m/cgi-bin/surfraw.cgi ; GOTO /cgi-bin/goto-target-url.cgi' +# Link hinting +keymap f-SPC COMMAND 'SET_OPTION display_link_number=toggle; RESHAPE' +keymap ff COMMAND 'SET_OPTION display_link_number=0; RESHAPE; LINK_BEGIN' +keymap ft COMMAND 'SET_OPTION display_link_number=0; RESHAPE; TAB_LINK' +keymap fo COMMAND 'SET_OPTION display_link_number=0; RESHAPE; LINK_BEGIN; GOTO_LINK' +keymap fn COMMAND 'SET_OPTION display_link_number=0; RESHAPE; LINK_BEGIN; TAB_LINK' + # ABORT Quit at once # ACCESSKEY Pop up accesskey menu # ALARM Set alarm