dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 784a30a3b165174e7c083adb917a7d3beb55e4d7
parent 8bb61654ee276082d9412e97938bf7d535baae0f
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Tue, 26 Jun 2018 18:04:55 -0400

Add w3m config

Diffstat:
M.profile | 2++
A.w3m/config | 154+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.w3m/keymap | 135+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 291 insertions(+), 0 deletions(-)

diff --git a/.profile b/.profile @@ -22,6 +22,8 @@ PAGER=less LESS="-FMRqX#10" export EDITOR VISUAL PAGER LESS +WWW_HOME=https://danielmoch.com; export WWW_HOME + if type lesspipe > /dev/null 2>&1 then eval `lesspipe` diff --git a/.w3m/config b/.w3m/config @@ -0,0 +1,154 @@ +tabstop 8 +indent_incr 4 +pixel_per_char 7 +pixel_per_line 14 +frame 0 +target_self 0 +open_tab_blank 0 +open_tab_dl_list 0 +display_link 1 +display_link_number 0 +decode_url 0 +display_lineinfo 0 +ext_dirlist 1 +dirlist_cmd file:///$LIB/dirlist.cgi +use_dictcommand 1 +dictcommand file:///$LIB/w3mdict.cgi +multicol 0 +alt_entity 0 +graphic_char 0 +display_borders 0 +fold_textarea 0 +display_ins_del 1 +ignore_null_img_alt 1 +view_unseenobject 0 +display_image 1 +pseudo_inlines 1 +auto_image 0 +max_load_image 4 +ext_image_viewer 1 +image_scale 100 +imgdisplay ~/.local/bin/my-open +image_map_list 1 +fold_line 0 +show_lnum 0 +show_srch_str 1 +label_topline 0 +nextpage_topline 0 +color 1 +basic_color terminal +anchor_color blue +image_color green +form_color red +mark_color cyan +bg_color terminal +active_style 0 +active_color cyan +visited_anchor 0 +visited_color magenta +pagerline 10000 +use_history 1 +history 100 +save_hist 1 +confirm_qq 1 +close_tab_back 0 +mark 0 +emacs_like_lineedit 0 +vi_prec_num 0 +mark_all_pages 0 +wrap_search 0 +ignorecase_search 1 +use_mouse 1 +reverse_mouse 0 +relative_wheel_scroll 0 +relative_wheel_scroll_ratio 30 +fixed_wheel_scroll_count 5 +clear_buffer 1 +decode_cte 0 +auto_uncompress 0 +preserve_timestamp 1 +keymap_file keymap +document_root +personal_document_root +cgi_bin +index_file +mime_types ~/.mime.types, /usr/etc/mime.types +mailcap ~/.mailcap +urimethodmap ~/.w3m/urimethodmap, /usr/etc/w3m/urimethodmap +editor $EDITOR +mailto_options 1 +mailer mutt +extbrowser /usr/bin/firefox +extbrowser2 +extbrowser3 +extbrowser4 +extbrowser5 +extbrowser6 +extbrowser7 +extbrowser8 +extbrowser9 +bgextviewer 1 +use_lessopen 1 +passwd_file ~/.w3m/passwd +disable_secret_security_check 0 +ftppasswd +ftppass_hostnamegen 1 +pre_form_file ~/.w3m/pre_form +siteconf_file ~/.w3m/siteconf +user_agent +no_referer 0 +accept_language en;q=1.0 +accept_encoding gzip, compress, bzip, bzip2, deflate +accept_media text/html, text/*;q=0.5, image/*, application/*, audio/*, video/* +argv_is_url 1 +retry_http 1 +default_url 1 +follow_redirection 10 +meta_refresh 0 +dns_order 0 +nntpserver +nntpmode +max_news 50 +use_proxy 1 +http_proxy +https_proxy +ftp_proxy +no_proxy +noproxy_netaddr 1 +no_cache 0 +ssl_forbid_method 2, 3 +ssl_verify_server 1 +ssl_cert_file +ssl_key_file +ssl_ca_path +ssl_ca_file +use_cookie 1 +show_cookie 0 +accept_cookie 1 +accept_bad_cookie 0 +cookie_reject_domains +cookie_accept_domains +cookie_avoid_wrong_number_of_dots +display_charset UTF-8 +document_charset UTF-8 +auto_detect 2 +system_charset UTF-8 +follow_locale 1 +ext_halfdump 0 +use_wide 1 +use_combining 1 +east_asian_width 0 +use_language_tag 1 +ucs_conv 1 +pre_conv 0 +search_conv 1 +fix_width_conv 1 +use_gb12345_map 0 +use_jisx0201 0 +use_jisc6226 0 +use_jisx0201k 0 +use_jisx0212 0 +use_jisx0213 0 +strict_iso2022 1 +gb18030_as_ucs 0 +simple_preserve_space 0 diff --git a/.w3m/keymap b/.w3m/keymap @@ -0,0 +1,135 @@ +# +# ~/.w3m/keymap +# +keymap C-@ MARK +keymap C-a LINE_BEGIN +keymap C-b MOVE_LEFT +keymap C-e LINE_END +keymap C-f MOVE_RIGHT +keymap C-g LINE_INFO +keymap C-h HISTORY +keymap TAB NEXT_LINK +keymap C-j GOTO_LINK +keymap C-k COOKIE +keymap C-l REDRAW +keymap C-m GOTO_LINK +keymap C-n MOVE_DOWN +keymap C-p MOVE_UP +keymap C-q CLOSE_TAB +keymap C-r ISEARCH_BACK +keymap C-s ISEARCH +keymap C-t TAB_LINK +keymap C-u PREV_PAGE +keymap C-d NEXT_PAGE +keymap C-w WRAP_TOGGLE +keymap C-z SUSPEND + +keymap SPC NEXT_PAGE +keymap ! SHELL +keymap \" REG_MARK +keymap # PIPE_SHELL +keymap 0 LINE_BEGIN +keymap $ LINE_END +keymap ( UNDO +keymap ) REDO +keymap + NEXT_PAGE +keymap , LEFT +keymap - PREV_PAGE +keymap . RIGHT +keymap / SEARCH +keymap : MARK_URL +keymap ";" MARK_WORD +keymap < SHIFT_LEFT +keymap = INFO +keymap > SHIFT_RIGHT +keymap ? SEARCH_BACK +keymap @ READ_SHELL +keymap B BACK +keymap D DOWNLOAD_LIST +keymap E EDIT +keymap F FRAME +keymap G END +keymap H HELP +keymap I VIEW_IMAGE +keymap J UP +keymap K DOWN +keymap L LIST +keymap M EXTERN +keymap N SEARCH_PREV +keymap Q EXIT +keymap R RELOAD +keymap S SAVE_SCREEN +keymap T NEW_TAB +keymap U GOTO +keymap V LOAD +keymap W PREV_WORD +keymap Z CENTER_H +keymap [ LINK_BEGIN +keymap ] LINK_END +keymap \^ LINE_BEGIN +keymap a SAVE_LINK +keymap b PREV_PAGE +keymap c PEEK +keymap g BEGIN +keymap h MOVE_LEFT +keymap i PEEK_IMG +keymap j MOVE_DOWN +keymap k MOVE_UP +keymap l MOVE_RIGHT +keymap m MOUSE_TOGGLE +keymap n SEARCH_NEXT +keymap o OPTIONS +keymap q QUIT +keymap r VERSION +keymap s SELECT_MENU +keymap u PEEK_LINK +keymap v VIEW +keymap w NEXT_WORD +keymap z CENTER_V +keymap { PREV_TAB +keymap | PIPE_BUF +keymap } NEXT_TAB + +keymap M-TAB PREV_LINK +keymap M-C-j SAVE_LINK +keymap M-C-m SAVE_LINK + +keymap M-: MARK_MID +keymap M-< BEGIN +keymap M-> END +keymap M-I SAVE_IMAGE +keymap M-M EXTERN_LINK +keymap M-W DICT_WORD_AT +keymap M-a ADD_BOOKMARK +keymap M-b BOOKMARK +keymap M-c COMMAND +keymap M-e EDIT_SCREEN +keymap M-g GOTO_LINE +keymap M-k DEFINE_KEY +keymap M-l LIST_MENU +keymap M-m MOVE_LIST_MENU +keymap M-n NEXT_MARK +keymap M-o SET_OPTION +keymap M-p PREV_MARK +keymap M-s SAVE +keymap M-t TAB_MENU +keymap M-u GOTO_RELATIVE +keymap M-v PREV_PAGE +keymap M-w DICT_WORD + +keymap UP MOVE_UP +keymap DOWN MOVE_DOWN +keymap RIGHT MOVE_RIGHT +keymap LEFT MOVE_LEFT + +keymap M-[E MENU +keymap M-[L MENU +keymap M-[Z PREV_LINK + +keymap M-[1~ BEGIN +keymap M-[2~ MENU +keymap M-[4~ END +keymap M-[5~ PREV_PAGE +keymap M-[6~ NEXT_PAGE +keymap M-[28~ MENU +