summaryrefslogtreecommitdiff
path: root/.w3m/keymap
diff options
context:
space:
mode:
Diffstat (limited to '.w3m/keymap')
-rw-r--r--.w3m/keymap14
1 files changed, 10 insertions, 4 deletions
diff --git a/.w3m/keymap b/.w3m/keymap
index 0b988b1..38da742 100644
--- a/.w3m/keymap
+++ b/.w3m/keymap
@@ -78,7 +78,7 @@ keymap C-o NULL
#keymap TAB NULL
keymap C-j NULL
keymap C-] NULL
-keymap I NULL
+#keymap I NULL
keymap ESC-I NULL
keymap ESC-C-j NULL
keymap y NULL
@@ -233,8 +233,8 @@ keymap C-o LOAD
#-miscellany....................................................................
keymap C-Y DOWNLOAD_LIST #Show download menu
keymap C-y DOWNLOAD_LIST #Show download menu
-keymap :E EDIT_SCREEN #Edit current rendered document with sensible-editor
-keymap :e EDIT #Edit current local file wtih sensible-editor
+keymap ,e EDIT_SCREEN #Edit current rendered document with sensible-editor
+keymap ,E EDIT #Edit current local file wtih sensible-editor
keymap M-u LIST #Show list of all links, anchors and images
keymap M-m MOUSE_TOGGLE #Toggle activity of mouse
@@ -266,10 +266,11 @@ keymap C-x COMMAND "SET_OPTION fold_line=toggle ; RESHAPE"
#
# My custom bindings
keymap C-p COMMAND "SAVE_SCREEN /home/lxf/inbox/output.txt && mutt -s 'output test' sng@luxagraf.net < /home/lxf/inbox/output.txt"
-keymap M-p COMMAND "SAVE_SCREEN /home/lxf/inbox/%s.txt"
+#keymap M-p COMMAND "SAVE_SCREEN /home/lxf/inbox/%s.txt"
## fzf search of commands
keymap xx COMMAND "READ_SHELL ~/.w3m/cgi-bin/fnx_fzfmiru.cgi ; BACK ; GOTO file:/cgi-bin/fnx_execute.cgi ; BACK"
keymap sg COMMAND "SET_OPTION dictcommand=file:///cgi-bin/omnibar_google.cgi ; DICT_WORD"
+keymap sd COMMAND "SET_OPTION dictcommand=file:///cgi-bin/omnibar_duckduckgo.cgi ; DICT_WORD"
keymap sb COMMAND "SET_OPTION dictcommand=file:///cgi-bin/omnibar_brave.cgi ; DICT_WORD"
# Navigate back without deleting current buffer
@@ -277,6 +278,8 @@ keymap H PREV
keymap < PREV
keymap LEFT PREV
+keymap I EXTERN_LINK 'feh -. -x -B black -g 1800x1200-15+60 %s &'
+
# Navigate forward without deleting current buffer
keymap > NEXT
keymap RIGHT NEXT
@@ -287,6 +290,9 @@ keymap c PEEK
# Pop-up menu with open buffers
keymap b SELECT_MENU
+# reader view because no one updated their skip to content links when they changed designs
+keymap R COMMAND "READ_SHELL 'rdrview $W3M_URL -H 2> /dev/null 1> /tmp/readable.html' ; LOAD /tmp/readable.html"
+
#### toggle hinting mode (vimium similar)
keymap f-SPC COMMAND "SET_OPTION display_link_number=toggle ; RESHAPE"
#### jump to link number (e.g press 3ff) and hide hinting mode (similar to gg in vim)