blob: d45692ac1993d0a3dc10669e48ca17669c46a601 (
plain) (
tree)
|
|
# A sample of ~/.w3m/keymap (default)
#
# Ctrl : C-, ^
# Escape: ESC-, M-, ^[
# Space : SPC, ' '
# Tab : TAB, ^i, ^I
# Delete: DEL, ^?
# Up : UP, ^[[A
# Down : DOWN, ^[[B
# Right : RIGHT, ^[[C
# Left : LEFT, ^[[D
# Page/Cursor motion
keymap C-f NEXT_PAGE
keymap C-b PREV_PAGE
keymap l MOVE_RIGHT
keymap h MOVE_LEFT
keymap j MOVE_DOWN
keymap k MOVE_UP
keymap < SHIFT_LEFT
keymap > SHIFT_RIGHT
keymap 0 LINE_BEGIN
keymap $ LINE_END
keymap Z CENTER_H
keymap zz CENTER_V
keymap gg GOTO_LINE
keymap gg BEGIN
keymap G END
keymap w NEXT_WORD
keymap b PREV_WORD
keymap TAB NEXT_LINK
keymap ESC-TAB PREV_LINK
keymap u UNDO
keymap C-r REDO
keymap :L LIST_MENU
# Hyperlink operation
keymap M MARK_WORD
# keymap M MARK_URL
keymap C-t TAB_LINK
keymap C-s SAVE_LINK
keymap V VIEW_IMAGE
# keymap V PEEK_IMG
keymap i INFO
keymap ESC-i SAVE_IMAGE
keymap p PEEK_LINK
keymap C-g LINE_INFO
keymap O EXTERN_LINK
# File/Stream operation
keymap o GOTO
keymap O TAB_GOTO
keymap @ READ_SHELL
keymap # PIPE_SHELL
keymap | PIPE_BUF
# Buffer operation
keymap B BACK
keymap L NEXT
keymap H PREV
keymap S SELECT_MENU
keymap ESC-s SAVE
keymap v VIEW
keymap P PRINT
keymap E EDIT
keymap ESC-e EDIT_SCREEN
keymap r RELOAD
keymap ESC-r RESHAPE
# Tab operation
keymap C-p PREV_TAB
keymap C-n NEXT_TAB
keymap t NEW_TAB
keymap T TAB_MENU
keymap d CLOSE_TAB
# Search
keymap / ISEARCH
keymap ? ISEARCH_BACK
keymap n SEARCH_NEXT
keymap N SEARCH_PREV
# Dictionay look-up
keymap ESC-w DICT_WORD
keymap ESC-W DICT_WORD_AT
# Mark operation
keymap m MARK
keymap ] NEXT_MARK
keymap [ PREV_MARK
keymap \" REG_MARK
# bookmark operation
keymap SPC-b VIEW_BOOKMARK
keymap SPC-a ADD_BOOKMARK
# Misc operation
keymap \\ MENU
keymap :H HELP
keymap :O OPTIONS
keymap ESC-k COOKIE
keymap ESC-h HISTORY
keymap ESC-c COMMAND
keymap ! EXEC_SHELL
keymap ESC-z INTERRUPT
keymap C CHARSET
keymap :q EXIT
keymap Q COMMAND "EXTERN 'echo %s > ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTERN 'echo %s >> ~/.w3m/RestoreSession.txt' ; READ_SHELL ~/.w3m/cgi-bin/restore_session.cgi ; EXIT"
# external stuff
keymap SPC-r COMMAND "SHELL 'readable $W3M_URL -p html-title,html-content > /tmp/readable.html'; LOAD /tmp/readable.html"
keymap xt COMMAND "SHELL ~/.w3m/cgi-bin/fzf_surfraw_tmux.cgi ; GOTO /usr/lib/w3m/cgi-bin/goto_tmux_clipboard.cgi"
keymap XT COMMAND "SHELL ~/.w3m/cgi-bin/fzf_surfraw_tmux.cgi ; TAB_GOTO /usr/lib/w3m/cgi-bin/goto_tmux_clipboard.cgi"
# keymap xs COMMAND "SHELL ~/.w3m/cgi-bin/fzf_surfraw.cgi ; GOTO /usr/lib/w3m/cgi-bin/goto_clipboard.cgi"
keymap xs COMMAND "SHELL ~/.w3m/cgi-bin/fzf_surfraw.cgi ; GOTO /usr/lib/w3m/cgi-bin/goto_clipboard_primary.cgi"
keymap XS COMMAND "SHELL ~/.w3m/cgi-bin/fzf_surfraw.cgi ; TAB_GOTO /usr/lib/w3m/cgi-bin/goto_clipboard_primary.cgi"
# keymap XS COMMAND "SHELL /home/bloodstalker/scripts/bin/fzf_surfraw ; TAB_GOTO /home/bloodstalker/scripts/bin/goto_clipboard.cgi"
# keymap xs COMMAND "SHELL /home/bloodstalker/scripts/bin/fzf_surfraw"
keymap go COMMAND "SHELL /usr/lib/w3m/cgi-bin/goto_clipboard.cgi"
# keymap XS COMMAND "SHELL /home/bloodstalker/scripts/bin/fzf_surfraw; TAB_GOTO /home/bloodstalker/scripts/bin/goto_clipboard.cgi"
keymap SPC-s COMMAND "TAB_GOTO searx.terminaldweller.com"
keymap d COMMAND "EXTERN 'echo %s >> ~/.w3m/RestoreTab.txt' ; CLOSE_TAB"
keymap u TAB_GOTO /usr/lib/w3m/cgi-bin/restore_tab.cgi
# keymap u TAB_GOTO /home/devi/.w3m/cgi-bin/restore_tab.cgi
keymap SPC-m CURSOR_MIDDLE
keymap SPC-l CURSOR_BOTTOM
keymap SPC-h CURSOR_TOP
keymap xb COMMAND "SHELL ~/.w3m/cgi-bin/fzf_bookmarks.cgi ; GOTO /usr/lib/w3m/cgi-bin/goto_clipboard_primary.cgi"
keymap XB COMMAND "SHELL ~/.w3m/cgi-bin/fzf_bookmarks.cgi ; TAB_GOTO /usr/lib/w3m/cgi-bin/goto_clipboard_primary.cgi"
|