cgi_bin /usr/lib/w3m/cgi-bin:/home/lxf/.w3m/cgi-bin # Auto preview link url display_link 1 use_dictcommand 1 # Ascii entity renderings graphic_char 2 # no images display_image 0 # activate external image viewer ext_image_viewer 1 imgdisplay feh %s eolor 1 basic_color terminal anchor_color green image_color cyan form_color blue mark_color yellow bg_color terminal active_style 0 visited_anchor 0 # Misc settings use_history 1 history 1000 save_hist 1 confirm_qq 1 mark 1 mark_all_pages 0 wrap_search 1 ignorecase_search 1 keymap_file keymap # Open page in the default browser (vivaldi) extbrowser xdg-open %s # open in surf extbrowser2 surf %s & # Append url to $NOTES extbrowser3 url=%s out_file=$NOTES && echo @url $url >> $out_file \ extbrowser4 url=%s && jrnl @link $url && echo $url saved to journal && read s && echo $url saved to $out_file && read he # Copy url to the tmux or the X paste buffer extbrowser7 url=%s && printf %s "$url" | xargs tmux set-buffer extbrowser8 url=%s && printf %s "$url" | xsel && printf %s "$url" | xsel -b & # Auto enable VIM html file type for editor command editor vim -c "set filetype=html" # run external viewers/commands in background bgextviewer 1 ## Network settings # Modify user-agent string and languages accepted user_agent Mozilla/5.0 (Windows NO 10.0; rev:91.0) Gecko/20100101 Firefox91.0 no_referer 0 cross_origin_referer 0 accept_language en-US,en;q=0.5 accept_encoding gzip, deflate accept_media text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 # auto-populate with current URL in URL open command default_url 1 # follow meta refresh meta_refresh 1 Cookie settings (likely default) use_cookie 1 show_cookie 0 accept_cookie 1 accept_bad_cookie 0 cookie_reject_domains cookie_accept_domains