### File: mouse
##
## Mouse configuration.
##
## Metadata:
##
##   id - aa881177-dfb5-4f22-956a-35e97fc85007
##   author - <qq542vev at https://purl.org/meta/me/>
##   version - 1.4.0
##   date - 2022-06-28
##   since - 2019-06-30
##   copyright - Copyright (C) 2019-2022 qq542vev. Some rights reserved.
##   license - <CC-BY at https://creativecommons.org/licenses/by/4.0/>
##   package - w3mplus
##
## See Also:
##
##   * <Project homepage at https://github.com/qq542vev/w3mplus>
##   * <Bug report at https://github.com/qq542vev/w3mplus/issues>
##   * <README.mouse at https://github.com/tats/w3m/blob/master/doc-jp/README.mouse>

button 1 default COMMAND "ALARM 0; MOVE_MOUSE"
button 2 default NEXT_HALF_PAGE
button 3 default MENU_MOUSE

button 1 anchor COMMAND "MOVE_MOUSE; GOTO_LINK"
button 2 anchor COMMAND "MOVE_MOUSE; TAB_LINK"
button 3 anchor COMMAND "MOVE_MOUSE; MENU_MOUSE ContextMenuLink"

button 1 tab TAB_MOUSE
button 2 tab CLOSE_TAB_MOUSE
button 3 tab COMMAND "TAB_MOUSE; MENU_MOUSE ContextMenuTab"

lastline "< > R H B L S "
button 1 lastline 0 0 PREV
button 2 lastline 0 0 COMMAND "PREV; NEW_TAB; PREV_TAB; NEXT"
button 1 lastline 2 2 NEXT
button 2 lastline 2 2 COMMAND "NEXT; NEW_TAB; PREV_TAB; PREV"
button 3 lastline 0 2 SELECT_MENU
button 1 lastline 4 4 RELOAD
button 2 lastline 4 4 COMMAND "NEW_TAB; RELOAD"
button 1 lastline 6 6 GOTO "file:///cgi-bin/w3mplus?pass=$(PASS)&action=homepage"
button 2 lastline 6 6 GOTO "file:///cgi-bin/w3mplus?pass=$(PASS)&action=homepage&tab=open-newtab"
button 1 lastline 8 8 MENU_MOUSE "MenuBookmarks"
button 2 lastline 8 8 COMMAND "NEW_TAB; VIEW_BOOKMARK; DELETE_PREVBUF"
button 1 lastline 10 10	COMMAND "SET_OPTION default_url=1; GOTO"
button 2 lastline 10 10	COMMAND "SET_OPTION default_url=1; TAB_GOTO"
button 3 lastline 3 11 MENU_MOUSE "Menu"
button 1 lastline 12 12	COMMAND "SET_OPTION dictcommand=file:///cgi-bin/w3mplus?pass=$(PASS)&action=dict-word&designator=all&query=; DICT_WORD"
button 2 lastline 12 12	COMMAND "SET_OPTION dictcommand=file:///cgi-bin/w3mplus?pass=$(PASS)&action=dict-word&designator=all&tab=open-newtab&query=; DICT_WORD"
button 3 lastline 12 13 MENU_MOUSE "ContextMenuSearch"
