From 5b23587f638dde8faf821edd50d72cb988af5387 Mon Sep 17 00:00:00 2001 From: TCCQ Date: Tue, 22 Oct 2024 18:44:29 -0700 Subject: more complete vimb config --- vimb/vimb/_style.css | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++ vimb/vimb/config | 20 +++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 vimb/vimb/_style.css create mode 100644 vimb/vimb/config diff --git a/vimb/vimb/_style.css b/vimb/vimb/_style.css new file mode 100644 index 0000000..a824e29 --- /dev/null +++ b/vimb/vimb/_style.css @@ -0,0 +1,55 @@ +*,div,pre,textarea,body,input,td,tr,p { + background-color: #303030 !important; + background-image: none !important; + color: #bbbbbb !important; +} +h1,h2,h3,h4 { + background-color: #303030 !important; + color: #b8ddea !important; +} +a { + color: #70e070 !important; +} +a:hover,a:focus { + color: #7070e0 !important; +} +a:visited { + color: #e07070 !important; +} +img { + opacity: .5; +} +img:hover { + opacity: 1; +} + +/* Hint mode color styling + * Color scheme: Base16 Eighties (https://github.com/chriskempson/base16) + * + * The precedence of the user style is lower than that of the website so you + * have to mark your style definition to have higher priority. + */ +span[vimbhint^='label'] { + background-color: #f2f0ec !important; + border: 1px solid #2d2d2d !important; + color: #2d2d2d !important; + font: bold 10pt monospace !important; + opacity: 1 !important; + padding: .1em .4em !important; + text-transform: uppercase !important; +} +span[vimbhint='label focus'] { + font: bold 13pt monospace !important; +} +*[vimbhint^='hint'] { + background-color: #ffcc66 !important; + color: #2d2d2d !important; +} +*[vimbhint='hint focus'] { + background-color: #6699cc !important; + color: #2d2d2d !important; +} + +body::-webkit-scrollbar { + display: none; +} diff --git a/vimb/vimb/config b/vimb/vimb/config new file mode 100644 index 0000000..7560e4d --- /dev/null +++ b/vimb/vimb/config @@ -0,0 +1,20 @@ +set editor-command=ALTERNATE_EDITOR=emacs emacsclient -n %s +set webgl=true +set hardware-acceleration-policy=never +set incsearch=true +set spell-checking=true +set scripts=false + +set font-size=12 +set monospace-font-size=12 +set input-autohide=true + +nmap + zI +nmap - zO +nmap = zz + +nmap sh! mpv $VIMB_URI + +shortcut-add d=https://duckduckgo.com/?q=$0 +shortcut-add g=https://google.com/search?q=$0 +shortcut-default d -- cgit v1.2.3