summaryrefslogblamecommitdiffstats
path: root/.config/vimb/config
blob: f42a284e5262092bdcb267574ca23c7087499fca (plain) (tree)










































































































































                                                                                                                                       
# Homepage that vimb opens if started without a URI.
set home-page=about:blank

# Path to the default download directory. If no download directory is set,
# download will be written into current directory. The following pattern will
# be expanded if the download is started '~/', '~user', '$VAR' and '${VAR}'.
set download-path=~/downloads/

# Command with placeholder '%s' called if form field is opened with $EDITOR to
# spawn the editor-like `x-terminal-emulator -e vim %s'. To use Gvim as the
# editor, it's necessary to call it with `-f' to run it in the foreground.
set editor-command=termite -e "nvim %s"

# If enabled the inputbox will be hidden whenever it contains no text.
set input-autohide=true

# Enable or disable the spell checking feature.
set spell-checking=true

# Set comma separated list of spell checking languages to be used for
# spell checking.
set spell-checking-languages=en

# Enable or disable support for WebGL on pages.
set webgl=true

# While typing a search command, show where the pattern typed so far matches.
set incsearch=true

# The font family to use as the default for content that does not specify a
# font.
set default-font=DejaVu Sans

# The font family used as the default for content using monospace font.
set monospace-font=Hack

# The font family used as the default for content using sans-serif font.
set sans-serif-font=DejaVu Sans

# The font family used as the default for content using serif font.
set serif-font=DejaVu Serif

# The default font size used to display text.
set font-size=14

# Default font size for the monospace font.
set monospace-font-size=12

# Default Full-Content zoom level in percent. Default is 100.
set default-zoom=100

# Shortcuts allow the opening of an URI built up from a named template with
# additional parameters.

# Search shortcuts
shortcut-default searx
shortcut-add a=https://www.amazon.co.uk/s?k=$0
shortcut-add ap=https://www.archlinux.org/packages/?sort=&q=$0
shortcut-add apk=https://apk-dl.com/$0
shortcut-add arc=https://web.archive.org/web/*/$0
shortcut-add aur=https://aur.archlinux.org/packages/?O=0&K=$0
shortcut-add aw=https://wiki.archlinux.org/index.php?search=$0&title=Special%3ASearch
shortcut-add b=http://bugmenot.com/view/$0
shortcut-add cb=https://comicvine.gamespot.com/search/?q=$0
shortcut-add crm=http://10.32.2.10/suitecrm/index.php?action=UnifiedSearch&module=Home&search_form=false&advanced=false&query_string=$0
shortcut-add cron=https://crontab.guru/#$0
shortcut-add deb=https://packages.debian.org/$0
shortcut-add dock=https://hub.docker.com/search/?pullCount=1&q=$0
shortcut-add domain=https://shop.gandi.net/en/domain/suggest?search=$0
shortcut-add down=https://downforeveryoneorjustme.com/$0
shortcut-add duck=https://start.duckduckgo.com/?q=$0
shortcut-add e=https://www.ebay.co.uk/sch/i.html?_nkw=$0
shortcut-add eco=https://www.ecosia.org/search?q=$0
shortcut-add f=https://f-droid.org/packages/#q=$0
shortcut-add g=https://www.google.co.uk/search?q=$0
shortcut-add gamma=https://www.gamma-portal.com/voip/ipdc/searchInput.jspa#$0
shortcut-add gf=https://gamefaqs.gamespot.com/search?game=$0
shortcut-add git=https://github.com/search?q=$0
shortcut-add gitg=https://gist.github.com/search?utf8=%E2%9C%93&q=$0
shortcut-add gl=https://www.google.co.uk/search?btnI=1&q=$0
shortcut-add gm=https://www.google.co.uk/maps/search/$0
shortcut-add gr=https://www.goodreads.com/search?utf8=%E2%9C%93&query=$0
shortcut-add i=https://www.google.co.uk/search?tbm=isch&q=$0
shortcut-add im=https://www.imdb.com/find?ref_=nv_sr_fn&s=all&q=$0
shortcut-add ip=https://www.ip2location.com/demo/$0
shortcut-add iu=https://www.google.co.uk/searchbyimage?site=search&image_url=$0
shortcut-add jack=https://jack.minskio.co.uk/UI/Dashboard#search=$0
shortcut-add m=https://wego.here.com/search/$0
shortcut-add mac=https://api.macvendors.com/$0
shortcut-add mb=https://musicbrainz.org/search?type=artist&limit=25&method=indexed&query=$0
shortcut-add mx=https://mxtoolbox.com/SuperTool.aspx?action=$0
shortcut-add nano=https://nanode.co/account/$0
shortcut-add no=https://enno.dict.cc/?s=$0
shortcut-add osm=https://www.openstreetmap.org/search?query=$0
shortcut-add pc=https://pcgamingwiki.com/w/index.php?search=$0&title=Special%3ASearch
shortcut-add plus=https://partner.plus.net/account/search?strType=ENDUSER_LOOKUP&strCriteria=$0
shortcut-add rt=https://www.rottentomatoes.com/search/?search=$0
shortcut-add searx=https://searx.minskio.co.uk/?q=$0
shortcut-add ss=https://steamspy.com/search.php?s=$0
shortcut-add s=https://store.steampowered.com/search/?term=$0
shortcut-add start=https://www.startpage.com/do/metasearch.pl?query=$0
shortcut-add t=https://tineye.com/parse?url=$0
shortcut-add tg=https://thegamesdb.net/search.php?name=$0
shortcut-add tm=https://www.themoviedb.org/search?query=$0
shortcut-add tor=https://iknowwhatyoudownload.com/en/peer/?ip=$0
shortcut-add tr=https://translate.yandex.com/?lang=no-en&text=$0
shortcut-add tv=https://www.thetvdb.com/search?query=$0
shortcut-add tvt=https://tvtropes.org/pmwiki/search_result.php?q=$0
shortcut-add ud=https://www.urbandictionary.com/define.php?term=$0
shortcut-add vat=https://www.google.co.uk/search?q=$0+GBP+%2B+(20%25+of+$0+GBP)
shortcut-add w=https://en.wikipedia.org/w/index.php?search=$0&title=Special:Search
shortcut-add wa=https://www.wolframalpha.com/input/?i=$0
shortcut-add whois=https://whois.gandi.net/en/results?search=$0
shortcut-add wine=https://www.winehq.org/search?q=$0
shortcut-add wno=https://no.wikipedia.org/w/index.php?search=$0&title=Special:Search
shortcut-add wt=https://en.wiktionary.org/w/index.php?search=$0&title=Special:Search
shortcut-add wtno=https://no.wiktionary.org/w/index.php?search=$0&title=Special:Search
shortcut-add xbtc=https://currencio.co/btc/gbp/$0/
shortcut-add xmr=https://currencio.co/xmr/gbp/$0/
shortcut-add xnano=https://currencio.co/nano/gbp/$0/
shortcut-add y=https://www.youtube.com/results?search_query=$0

# Map page zoom in normal mode to keys commonly used across applications
# + (zoom in), - (zoom out), = (zoom reset)
nmap + zI
nmap - zO
nmap = zz
nmap <C-M> :sh! mpv "${VIMB_URI}"<CR>

# GUI color settings
# Color scheme: Base16 Eighties (https://github.com/chriskempson/base16)
set completion-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono;
set completion-hover-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono;
set completion-selected-css=color:#d3d0c8;background-color:#515151;font:12pt DejaVu Sans Mono;
set input-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono;
set input-error-css=color:#f2777a;background-color:#393939;font:12pt DejaVu Sans Mono;
set status-css=color:#ffcc66;background-color:#393939;font:12pt DejaVu Sans Mono;
set status-ssl-css=color:#99cc99;background-color:#393939;font:12pt DejaVu Sans Mono;
set status-ssl-invalid-css=color:#f2777a;background-color:#393939;font:12pt DejaVu Sans Mono;