summaryrefslogtreecommitdiffstats
path: root/.config/vimb/config
diff options
context:
space:
mode:
authorPeter2020-07-28 10:45:38 +0100
committerPeter2020-07-28 10:45:38 +0100
commitd9332473c94c44e61f6c20e3045611b4c8fdb39f (patch)
tree5bdfc56d63b357a7925b3206a87eff615b49eee5 /.config/vimb/config
parent69ffdb971d13a3f9819aa51d29c349531567941e (diff)
downloaddotfiles-d9332473c94c44e61f6c20e3045611b4c8fdb39f.tar.gz
dotfiles-d9332473c94c44e61f6c20e3045611b4c8fdb39f.tar.bz2
dotfiles-d9332473c94c44e61f6c20e3045611b4c8fdb39f.zip
few vimb tweaks
Diffstat (limited to '.config/vimb/config')
-rw-r--r--.config/vimb/config12
1 files changed, 5 insertions, 7 deletions
diff --git a/.config/vimb/config b/.config/vimb/config
index b8c266d..cf19ee5 100644
--- a/.config/vimb/config
+++ b/.config/vimb/config
@@ -4,7 +4,7 @@ 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=~/tmp/
+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
@@ -19,7 +19,7 @@ set spell-checking=true
# Set comma separated list of spell checking languages to be used for
# spell checking.
-set spell-checking-languages=en,de
+set spell-checking-languages=en
# Enable or disable support for WebGL on pages.
set webgl=true
@@ -47,25 +47,23 @@ set font-size=16
set monospace-font-size=13
# Default Full-Content zoom level in percent. Default is 100.
-set default-zoom=120
+set default-zoom=100
# Shortcuts allow the opening of an URI built up from a named template with
# additional parameters.
+shortcut-default duck
shortcut-add duck=https://duckduckgo.com/?q=$0
shortcut-add d=http://dict.cc/?s=$0
shortcut-add g=https://encrypted.google.com/search?q=$0
shortcut-add y=http://www.youtube.com/results?search_query=$0
shortcut-add s=https://www.startpage.com/do/dsearch?query=$0
-# Set the shortcut as the default, that is the shortcut to be used if no
-# shortcut is given and the string to open is not an URI.
-shortcut-default duck
-
# 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)