Add vimb config - dotfiles - leot's dotfiles
(HTM) hg clone https://bitbucket.org/iamleot/dotfiles
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset a17d97b57e749b7bc1846544be7439923743fdb5
(DIR) parent 8c879c82a6ee7dad425a556a1d6a905713857814
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Wed, 10 Oct 2018 12:50:43
Add vimb config
Diffstat:
config/vimb/config | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 69 insertions(+), 0 deletions(-)
---
diff -r 8c879c82a6ee -r a17d97b57e74 config/vimb/config
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/config/vimb/config Wed Oct 10 12:50:43 2018 +0200
@@ -0,0 +1,69 @@
+nmap b <C-O>
+nmap H <C-O>
+nmap B <C-I>
+nmap L <C-I>
+nmap d <C-Q>
+nmap <C-S> :set scripts!<CR>
+nnoremap <C-M> :sh! mpv --really-quiet "${VIMB_URI}"<CR><Esc>
+nnoremap <C-N> :sh! xdotool key --window "${VIMB_XID}" ctrl+shift+l<CR><Esc>
+nnoremap <C-P> :sh! xdotool key --window "${VIMB_XID}" ctrl+shift+h<CR><Esc>
+
+set accelerated-2d-canvas=false
+set cookie-accept=never
+set dns-prefetching=false
+set download-path=~/Downloads
+set editor-command=tmux new-window "${EDITOR} %s ; tmux wait-for -S vimb-editor" \; wait-for vimb-editor
+set font-size=16
+set frame-flattening=true
+set hardware-acceleration-policy=never
+set home-page=about:blank
+set html5-database=false
+set html5-local-storage=false
+set incsearch=true
+set input-autohide=true
+set javascript-can-access-clipboard=false
+set javascript-can-open-windows-automatically=false
+set media-playback-requires-user-gesture=true
+set monospace-font-size=13
+set offline-cache=false
+set plugins=false
+set scripts=false
+set spell-checking=false
+set strict-ssl=true
+set user-agent=
+set webaudio=false
+set webgl=false
+
+shortcut-add aen=https://www.amazon.com/s/ref=nb_sb_noss?field-keywords=$0
+shortcut-add ait=https://www.amazon.it/s/ref=nb_sb_noss?field-keywords=$0
+shortcut-add bandcamp=https://bandcamp.com/search?q=$0
+shortcut-add cpan=https://metacpan.org/search?q=$0
+shortcut-add d=https://duckduckgo.com/html/?q=$0
+shortcut-add enfr=https://wordreference.com/enfr/$0
+shortcut-add enit=https://wordreference.com/enit/$0
+shortcut-add et=http://www.treccani.it/enciclopedia/tag/$0/
+shortcut-add fren=http://wordreference.com/fren/$0
+shortcut-add g=https://www.google.com/search?q=$0
+shortcut-add gi=https://www.google.com/search?q=$0&tbm=isch
+shortcut-add gl=https://www.google.com/search?q=$0&btnI=I+feel+lucky
+shortcut-add gs=https://scholar.google.com/scholar?q=$0
+shortcut-add imdb=https://www.imdb.com/find?s=all&q=$0
+shortcut-add iten=https://wordreference.com/iten/$0
+shortcut-add pypi=https://pypi.org/search/?q=$0
+shortcut-add rfc=https://tools.ietf.org/html/rfc$0
+shortcut-add vt=http://www.treccani.it/vocabolario/tag/$0/
+shortcut-add wa=https://www.archive.org/searchresults.php?mediatype=web&Submit=Take+Me+Back&search=$0
+shortcut-add wen=https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special%%3ASearch&search=$0&go=Go
+shortcut-add wit=https://secure.wikimedia.org/wikipedia/it/w/index.php?title=Special%%3ASearch&search=$0&go=Go
+shortcut-add y=https://www.youtube.com/results?search_query=$0
+
+shortcut-default g
+
+set completion-css=color:#000;background-color:#fff;font:10pt monospace;
+set completion-hover-css=color:#f00;background-color:#fff;font:10pt monospace;
+set completion-selected-css=color:#000;background-color:#fff;font:10pt monospace;
+set input-css=color:#000;background-color:#fff;font:10pt monospace;
+set input-error-css=color:#fff;background-color:#f00;font:10pt monospace;
+set status-css=color:#fff;background-color:#000;font:10pt monospace;
+set status-ssl-css=color:#000;background-color:#95e454;font:10pt monospace;
+set status-ssl-invalid-css=color:#000;background-color:#f77;font:10pt monospace;