From ac226c081b6c9c9adc40466f4a2a8b0a06cbc38a Mon Sep 17 00:00:00 2001 From: qq542vev Date: Sun, 31 Jul 2022 00:03:24 +0900 Subject: [PATCH] add keywordprg --- release/.w3m/keymap_w3mplus | 7 +++---- source/.w3m/keymap_w3mplus | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/release/.w3m/keymap_w3mplus b/release/.w3m/keymap_w3mplus index 941b0e0..c034d7e 100644 --- a/release/.w3m/keymap_w3mplus +++ b/release/.w3m/keymap_w3mplus @@ -636,16 +636,12 @@ keymap "LEFT" MOVE_LEFT keymap "j" MOVE_DOWN keymap "DOWN" MOVE_DOWN -keymap "gj" MOVE_DOWN1 - keymap "l" MOVE_RIGHT keymap "RIGHT" MOVE_RIGHT keymap "k" MOVE_UP keymap "UP" MOVE_UP -keymap "gk" MOVE_UP1 - keymap "C-e" UP keymap "C-y" DOWN @@ -1070,6 +1066,7 @@ keymap "^[[L" EDIT_SCREEN keymap "E" NEXT_WORD keymap "B" PREV_WORD +keymap "K" EXEC_SHELL "${W3MPLUS_KEYWORDPRG:-man} \"${W3M_CURRENT_WORD}\"" keymap "zt" GOTO "file:///cgi-bin/w3mplus?pass=$(PASS)&action=scroll-zt" keymap "zb" GOTO "file:///cgi-bin/w3mplus?pass=$(PASS)&action=scroll-zb" @@ -1085,6 +1082,8 @@ keymap "zRIGHT" RIGHT keymap "zL" SHIFT_RIGHT keymap "zH" SHIFT_LEFT +keymap "gj" MOVE_DOWN1 +keymap "gk" MOVE_UP1 keymap "gx" COMMAND "MARK_URL; GOTO_LINK" keymap "V" GOTO "file:///cgi-bin/w3mplus?pass=$(PASS)&action=visual-mode&subaction=yank" diff --git a/source/.w3m/keymap_w3mplus b/source/.w3m/keymap_w3mplus index 941b0e0..c034d7e 100644 --- a/source/.w3m/keymap_w3mplus +++ b/source/.w3m/keymap_w3mplus @@ -636,16 +636,12 @@ keymap "LEFT" MOVE_LEFT keymap "j" MOVE_DOWN keymap "DOWN" MOVE_DOWN -keymap "gj" MOVE_DOWN1 - keymap "l" MOVE_RIGHT keymap "RIGHT" MOVE_RIGHT keymap "k" MOVE_UP keymap "UP" MOVE_UP -keymap "gk" MOVE_UP1 - keymap "C-e" UP keymap "C-y" DOWN @@ -1070,6 +1066,7 @@ keymap "^[[L" EDIT_SCREEN keymap "E" NEXT_WORD keymap "B" PREV_WORD +keymap "K" EXEC_SHELL "${W3MPLUS_KEYWORDPRG:-man} \"${W3M_CURRENT_WORD}\"" keymap "zt" GOTO "file:///cgi-bin/w3mplus?pass=$(PASS)&action=scroll-zt" keymap "zb" GOTO "file:///cgi-bin/w3mplus?pass=$(PASS)&action=scroll-zb" @@ -1085,6 +1082,8 @@ keymap "zRIGHT" RIGHT keymap "zL" SHIFT_RIGHT keymap "zH" SHIFT_LEFT +keymap "gj" MOVE_DOWN1 +keymap "gk" MOVE_UP1 keymap "gx" COMMAND "MARK_URL; GOTO_LINK" keymap "V" GOTO "file:///cgi-bin/w3mplus?pass=$(PASS)&action=visual-mode&subaction=yank"