config 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. # Homepage that vimb opens if started without a URI.
  2. set home-page=about:blank
  3. # Path to the default download directory. If no download directory is set,
  4. # download will be written into current directory. The following pattern will
  5. # be expanded if the download is started '~/', '~user', '$VAR' and '${VAR}'.
  6. set download-path=~/tmp/
  7. # Command with placeholder '%s' called if form field is opened with $EDITOR to
  8. # spawn the editor-like `x-terminal-emulator -e vim %s'. To use Gvim as the
  9. # editor, it's necessary to call it with `-f' to run it in the foreground.
  10. set editor-command=termite -e "nvim %s"
  11. # If enabled the inputbox will be hidden whenever it contains no text.
  12. set input-autohide=true
  13. # Enable or disable the spell checking feature.
  14. set spell-checking=true
  15. # Set comma separated list of spell checking languages to be used for
  16. # spell checking.
  17. set spell-checking-languages=en,de
  18. # Enable or disable support for WebGL on pages.
  19. set webgl=true
  20. # While typing a search command, show where the pattern typed so far matches.
  21. set incsearch=true
  22. # The font family to use as the default for content that does not specify a
  23. # font.
  24. set default-font=DejaVu Sans
  25. # The font family used as the default for content using monospace font.
  26. set monospace-font=DejaVu Sans Mono
  27. # The font family used as the default for content using sans-serif font.
  28. set sans-serif-font=DejaVu Sans
  29. # The font family used as the default for content using serif font.
  30. set serif-font=DejaVu Serif
  31. # The default font size used to display text.
  32. set font-size=16
  33. # Default font size for the monospace font.
  34. set monospace-font-size=13
  35. # Default Full-Content zoom level in percent. Default is 100.
  36. set default-zoom=100
  37. # Shortcuts allow the opening of an URI built up from a named template with
  38. # additional parameters.
  39. shortcut-add duck=https://duckduckgo.com/?q=$0
  40. shortcut-add d=http://dict.cc/?s=$0
  41. shortcut-add g=https://encrypted.google.com/search?q=$0
  42. shortcut-add y=http://www.youtube.com/results?search_query=$0
  43. shortcut-add s=https://www.startpage.com/do/dsearch?query=$0
  44. shortcut-add wwr=https://ru.wikipedia.org/wiki/$0
  45. shortcut-add wwe=https://en.wikipedia.org/wiki/$0
  46. shortcut-add wdr=https://ru.wiktionary.org/wiki/$0
  47. shortcut-add wde=https://en.wiktionary.org/wiki/$0
  48. shortcut-add aur=https://aur.archlinux.org/packages.php?O=0&K=$0&do_Search=Go
  49. shortcut-add aw=https://wiki.archlinux.org/index.php/Special:Search?fulltext=Search&search=$0
  50. # Set the shortcut as the default, that is the shortcut to be used if no
  51. # shortcut is given and the string to open is not an URI.
  52. shortcut-default duck
  53. # Map page zoom in normal mode to keys commonly used across applications
  54. # + (zoom in), - (zoom out), = (zoom reset)
  55. nmap + zI
  56. nmap - zO
  57. nmap = zz
  58. # GUI color settings
  59. # Color scheme: Base16 Eighties (https://github.com/chriskempson/base16)
  60. set completion-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono;
  61. set completion-hover-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono;
  62. set completion-selected-css=color:#d3d0c8;background-color:#515151;font:12pt DejaVu Sans Mono;
  63. set input-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono;
  64. set input-error-css=color:#f2777a;background-color:#393939;font:12pt DejaVu Sans Mono;
  65. set status-css=color:#ffcc66;background-color:#393939;font:12pt DejaVu Sans Mono;
  66. set status-ssl-css=color:#99cc99;background-color:#393939;font:12pt DejaVu Sans Mono;
  67. set status-ssl-invalid-css=color:#f2777a;background-color:#393939;font:12pt DejaVu Sans Mono;
  68. nnoremap gt :sh! xdotool key --window $VIMB_XID ctrl+shift+l<CR><Esc>
  69. nnoremap gT :sh! xdotool key --window $VIMB_XID ctrl+shift+h<CR><Esc>
  70. nnoremap 1gt :sh! xdotool key --window $VIMB_XID ctrl+1<CR><Esc>