summaryrefslogtreecommitdiffstats
path: root/.w3m
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-19 14:31:15 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-19 14:31:15 +0200
commit7b9a6dfe02a7117da08723c4b52184c6b1300817 (patch)
treefec020ee5df929763ff8b75c2195303216e51da5 /.w3m
parenttweak (diff)
downloaddotfiles-bsd-7b9a6dfe02a7117da08723c4b52184c6b1300817.tar.gz
dotfiles-bsd-7b9a6dfe02a7117da08723c4b52184c6b1300817.tar.bz2
dotfiles-bsd-7b9a6dfe02a7117da08723c4b52184c6b1300817.tar.xz
dotfiles-bsd-7b9a6dfe02a7117da08723c4b52184c6b1300817.tar.zst
dotfiles-bsd-7b9a6dfe02a7117da08723c4b52184c6b1300817.zip
Added w3m config
Diffstat (limited to '.w3m')
-rw-r--r--.w3m/config39
-rw-r--r--.w3m/keymap64
2 files changed, 103 insertions, 0 deletions
diff --git a/.w3m/config b/.w3m/config
new file mode 100644
index 0000000..6b8cd95
--- /dev/null
+++ b/.w3m/config
@@ -0,0 +1,39 @@
+# Charset
+system_charset UTF-8
+auto_detect 2
+document_charset UTF-8
+display_charset UTF-8
+# History
+save_hist 1
+history 100
+use_history 1
+# Cookie
+cookie_accept_domains
+cookie_reject_domains
+accept_bad_cookie 0
+accept_cookie 1
+use_cookie 1
+# Colors
+visited_color magenta
+active_color cyan
+image_color green
+basic_color terminal
+color 1
+# Images
+image_map_list 1
+imgdisplay /usr/local/bin/sxiv
+image_scale 100
+ext_image_viewer 1
+max_load_image 4
+auto_image 1
+display_image 1
+view_unseenobject 1
+ignore_null_img_alt 1
+# Misc
+display_ins_del 1
+keymap_file keymap
+extbrowser /usr/local/bin/firefox
+editor sensible-editor
+vi_prec_num 1
+emacs_like_lineedit 0
+tabstop 4
diff --git a/.w3m/keymap b/.w3m/keymap
new file mode 100644
index 0000000..3e54bee
--- /dev/null
+++ b/.w3m/keymap
@@ -0,0 +1,64 @@
+# Page/cursor
+keymap h MOVE_LEFT
+keymap j MOVE_DOWN
+keymap k MOVE_UP
+keymap l MOVE_RIGHT
+keymap w NEXT_WORD
+keymap b PREV_WORD
+keymap < SHIFT_LEFT
+keymap > SHIFT_RIGHT
+keymap C-d NEXT_PAGE
+keymap C-u PREV_PAGE
+keymap Z CENTER_H
+keymap z CENTER_V
+keymap gg BEGIN
+keymap G END
+keymap \^,C-a LINE_BEGIN
+keymap $,C-e LINE_END
+# Links
+keymap H PREV
+keymap L NEXT
+keymap TAB NEXT_LINK
+keymap ESC-TAB PREV_LINK
+keymap o GOTO
+keymap O TAB_GOTO
+keymap r RELOAD
+keymap R RESHAPE
+keymap u UNDO
+keymap C-r REDO
+keymap v VIEW_IMAGE
+keymap i INFO
+# Pipes
+keymap @ READ_SHELL
+# keymap \# PIPE_SHELL
+keymap | PIPE_BUF
+# Tabs
+keymap t NEW_TAB
+keymap T TAB_MENU
+keymap d CLOSE_TAB
+keymap J NEXT_TAB
+keymap K PREV_TAB
+# Search
+keymap / ISEARCH
+keymap ? ISEARCH_BACK
+keymap n SEARCH_NEXT
+keymap N SEARCH_PREV
+# Dictionnary
+keymap ESC-w DICT_WORD
+keymap ESC-W DICT_WORD_AT
+# Misc
+keymap B BACK
+keymap E EDIT
+keymap V VIEW
+keymap \\ MENU
+keymap S SELECT_MENU
+keymap ESC-s SAVE
+keymap ESC-o OPTIONS
+keymap ESC-k COOKIE
+keymap ESC-h HISTORY
+keymap ESC-c COMMAND
+keymap ESC-z INTERRUPT
+keymap ESC-l LIST_MENU
+keymap ESC-e EDIT_SCREEN
+keymap ESC-H HELP
+keymap ! EXEC_SHELL