summaryrefslogtreecommitdiff
path: root/vimb
diff options
context:
space:
mode:
authorTCCQ <thomasmulmer02@gmail.com>2024-10-22 18:44:29 -0700
committerTCCQ <thomasmulmer02@gmail.com>2024-10-22 18:44:29 -0700
commit5b23587f638dde8faf821edd50d72cb988af5387 (patch)
tree4561c7bb9466302a9262c8d834cb8589bab25b13 /vimb
parent3121dba2d2ca06e70278ce52285311887ec91e54 (diff)
more complete vimb config
Diffstat (limited to 'vimb')
-rw-r--r--vimb/vimb/_style.css55
-rw-r--r--vimb/vimb/config20
2 files changed, 75 insertions, 0 deletions
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 <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