diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-02-04 14:24:16 -0800 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-02-04 14:24:16 -0800 |
| commit | 9139a1b136fa2b5adfcac0ac09a4f61aa1ee1ff4 (patch) | |
| tree | de82bc4776b87f1fbb86f14b4a15d35d009ddd28 /config/vimb | |
| parent | a9bf8f30c746f5b28bb7eb6938e8390127081a32 (diff) | |
full reorg
Diffstat (limited to 'config/vimb')
| -rw-r--r-- | config/vimb/_style.css | 55 | ||||
| -rw-r--r-- | config/vimb/config | 20 | ||||
| -rw-r--r-- | config/vimb/scripts.js | 8 | ||||
| -rw-r--r-- | config/vimb/vimb/_style.css | 55 | ||||
| -rw-r--r-- | config/vimb/vimb/config | 20 |
5 files changed, 158 insertions, 0 deletions
diff --git a/config/vimb/_style.css b/config/vimb/_style.css new file mode 100644 index 0000000..a824e29 --- /dev/null +++ b/config/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/config/vimb/config b/config/vimb/config new file mode 100644 index 0000000..4e23902 --- /dev/null +++ b/config/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=14 +set monospace-font-size=14 +set input-autohide=true + +nmap + zI +nmap - zO +nmap = zz + +nnoremap <C-l> :sh! mpv $VIMB_URI<CR> + +shortcut-add d=https://html.duckduckgo.com/html?q=$0 +shortcut-add g=https://google.com/search?q=$0 +shortcut-default d diff --git a/config/vimb/scripts.js b/config/vimb/scripts.js new file mode 100644 index 0000000..b0698dc --- /dev/null +++ b/config/vimb/scripts.js @@ -0,0 +1,8 @@ +(function() { + const pattern = /https?:\/\/www.reddit.com/; // Change this to match the URL pattern you want + const currentUrl = window.location.href; + const redirectTo = currentUrl.replace("www", "old"); // Set the URL to redirect to + if (pattern.test(currentUrl)) { + window.location.replace(redirectTo); + } +})(); diff --git a/config/vimb/vimb/_style.css b/config/vimb/vimb/_style.css new file mode 100644 index 0000000..a824e29 --- /dev/null +++ b/config/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/config/vimb/vimb/config b/config/vimb/vimb/config new file mode 100644 index 0000000..7560e4d --- /dev/null +++ b/config/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 <C-m> sh! mpv $VIMB_URI + +shortcut-add d=https://duckduckgo.com/?q=$0 +shortcut-add g=https://google.com/search?q=$0 +shortcut-default d |
