config - dotfiles - leot's dotfiles
 (HTM) hg clone https://bitbucket.org/iamleot/dotfiles
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       config
       ---
            1 nmap b <C-O>
            2 nmap H <C-O>
            3 nmap B <C-I>
            4 nmap L <C-I>
            5 nmap d <C-Q>
            6 nmap <C-C> :set cookie-accept=origin<CR>:normal! r<CR>
            7 nmap <C-S> :set cookie-accept=origin<CR>:set scripts=true<CR>:normal! r<CR>
            8 nnoremap <C-M> :sh! mpv --really-quiet "${VIMB_URI}"<CR><Esc>
            9 nnoremap <C-N> :sh! xdotool key --window "${VIMB_XID}" ctrl+shift+l<CR><Esc>
           10 nnoremap <C-P> :sh! xdotool key --window "${VIMB_XID}" ctrl+shift+h<CR><Esc>
           11 
           12 set accelerated-2d-canvas=false
           13 set cookie-accept=never
           14 set dns-prefetching=false
           15 set download-path=/tmp/Downloads
           16 set editor-command=tmux new-window "${EDITOR} %s ; tmux wait-for -S vimb-editor" \; wait-for vimb-editor
           17 set font-size=16
           18 set frame-flattening=true
           19 set hardware-acceleration-policy=never
           20 set home-page=about:blank
           21 set html5-database=false
           22 set html5-local-storage=true
           23 set incsearch=true
           24 set input-autohide=true
           25 set javascript-can-access-clipboard=false
           26 set javascript-can-open-windows-automatically=false
           27 set media-playback-requires-user-gesture=true
           28 set monospace-font-size=13
           29 set offline-cache=false
           30 set plugins=false
           31 set scripts=false
           32 set spell-checking=false
           33 set strict-ssl=true
           34 set user-agent=Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0
           35 set x-hint-command=:sh! xplumb "<C-R>;"<CR><Esc>
           36 set webaudio=false
           37 set webgl=false
           38 
           39 shortcut-add aen=https://www.amazon.com/s/ref=nb_sb_noss?field-keywords=$0
           40 shortcut-add ait=https://www.amazon.it/s/ref=nb_sb_noss?field-keywords=$0
           41 shortcut-add bandcamp=https://bandcamp.com/search?q=$0
           42 shortcut-add cpan=https://metacpan.org/search?q=$0
           43 shortcut-add d=https://duckduckgo.com/html/?q=$0
           44 shortcut-add enfr=https://wordreference.com/enfr/$0
           45 shortcut-add enit=https://wordreference.com/enit/$0
           46 shortcut-add et=http://www.treccani.it/enciclopedia/tag/$0/
           47 shortcut-add fren=http://wordreference.com/fren/$0
           48 shortcut-add g=https://www.google.com/search?q=$0
           49 shortcut-add gi=https://www.google.com/search?q=$0&tbm=isch
           50 shortcut-add gl=https://www.google.com/search?q=$0&btnI=I+feel+lucky
           51 shortcut-add gs=https://scholar.google.com/scholar?q=$0
           52 shortcut-add imdb=https://www.imdb.com/find?s=all&q=$0
           53 shortcut-add iten=https://wordreference.com/iten/$0
           54 shortcut-add pypi=https://pypi.org/search/?q=$0
           55 shortcut-add rfc=https://tools.ietf.org/html/rfc$0
           56 shortcut-add vt=http://www.treccani.it/vocabolario/tag/$0/
           57 shortcut-add wa=https://www.archive.org/searchresults.php?mediatype=web&Submit=Take+Me+Back&search=$0
           58 shortcut-add wen=https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special%%3ASearch&search=$0&go=Go
           59 shortcut-add wit=https://secure.wikimedia.org/wikipedia/it/w/index.php?title=Special%%3ASearch&search=$0&go=Go
           60 shortcut-add y=https://www.youtube.com/results?search_query=$0
           61 
           62 shortcut-default g
           63 
           64 set completion-css=color:#000;background-color:#fff;font:10pt monospace;
           65 set completion-hover-css=color:#000;background-color:#fff;font:10pt monospace;
           66 set completion-selected-css=color:#000;background-color:#ff0;font:10pt monospace;
           67 set input-css=color:#000;background-color:#fff;font:10pt monospace;
           68 set input-error-css=color:#fff;background-color:#f00;font:10pt monospace;
           69 set status-css=color:#fff;background-color:#000;font:10pt monospace;
           70 set status-ssl-css=color:#000;background-color:#95e454;font:10pt monospace;
           71 set status-ssl-invalid-css=color:#000;background-color:#f77;font:10pt monospace;
           72 
           73 augroup default
           74         au LoadStarted * set user-agent=Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0
           75 augroup end
           76 
           77 augroup kludges
           78         au LoadCommitted *://ilmanifesto.it/* set user-agent=Googlebot-News
           79         au LoadCommitted *://www.haaretz.com/* set user-agent=Googlebot-News
           80 
           81         au LoadFinished *://www.ft.com/* eval! userscript_ft();
           82         au LoadFinished *://www.economist.com/* eval! userscript_economist();
           83         au LoadFinished *://github.com/* eval! userscript_github();
           84         au LoadFinished *://www.internazionale.it/* eval! userscript_internazionale();
           85         au LoadFinished *://medium.com/* eval! userscript_medium();
           86         au LoadFinished *://hackernoon.com/* eval! userscript_medium();
           87         au LoadFinished *://nvd.nist.gov/* eval! userscript_nvd();
           88         au LoadFinished *://www.nytimes.com/* eval! userscript_nytimes();
           89         au LoadFinished *://www.ondarock.it/* eval! userscript_ondarock();
           90         au LoadFinished *://stackoverflow.com/* eval! userscript_stackoverflow();
           91         au LoadFinished *://www.technologyreview.com/the-download/*/* eval! userscript_technologyreview_download();
           92         au LoadFinished *://www.technologyreview.com/s/* eval! userscript_technologyreview();
           93         au LoadFinished *://www.theverge.com/* eval! userscript_theverge();
           94         au LoadFinished *://www.theatlantic.com/* eval! userscript_theatlantic();
           95         au LoadFinished *://mobile.twitter.com/* eval! userscript_twitter();
           96         au LoadFinished *://twitter.com/* eval! userscript_twitter();
           97         au LoadFinished *://www.wsj.com/amp/* eval! userscript_wsj_amp();
           98 augroup end