Skip to content

Commit

Permalink
add keywordprg
Browse files Browse the repository at this point in the history
  • Loading branch information
qq542vev committed Jul 30, 2022
1 parent 0f65242 commit ac226c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions release/.w3m/keymap_w3mplus
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down
7 changes: 3 additions & 4 deletions source/.w3m/keymap_w3mplus
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit ac226c0

Please sign in to comment.