aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/vimb
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.config/vimb')
-rw-r--r--dotfiles/.config/vimb/config51
-rw-r--r--dotfiles/.config/vimb/style.css25
2 files changed, 76 insertions, 0 deletions
diff --git a/dotfiles/.config/vimb/config b/dotfiles/.config/vimb/config
new file mode 100644
index 0000000..1bdce52
--- /dev/null
+++ b/dotfiles/.config/vimb/config
@@ -0,0 +1,51 @@
+#set home-page=https://srx.yaroslavps.com/
+set home-page=about:blank
+
+set download-path=~/dls
+
+set editor-command=foot nvim %s
+
+set input-autohide=true
+
+set spell-checking=true
+set spell-checking-languages=en,es,ru
+
+set webgl=true
+
+set incsearch=true
+
+set default-font=monospace
+
+shortcut-add s=https://srx.yaroslavps.com/search?q=$0
+shortcut-add d=http://dict.cc/?s=$0
+shortcut-add y=http://www.youtube.com/results?search_query=$0
+shortcut-add duck=https://duckduckgo.com/?q=$0
+
+shortcut-default s
+
+nmap + zI
+nmap - zO
+nmap = zz
+
+set hint-keys-same-length=true
+set hint-keys=asdfghjkl
+set hint-timeout=0
+
+set x-hint-command=:sh! xdg-open <C-R>;
+
+set geolocation=never
+
+set prevent-newwindow=true
+
+set cookie-accept=origin
+
+# GUI color settings
+# Color scheme: Base16 Eighties (https://github.com/chriskempson/base16)
+set completion-css=color:#6d974b;background-color:#151517;font:10pt monospace;
+set completion-hover-css=color:#6d974b;background-color:#232328;font:10pt monospace;
+set completion-selected-css=color:#6d974b;background-color:#515151;font:10pt monospace;
+set input-css=color:#6d974b;background-color:#393939;font:10pt monospace;
+set input-error-css=color:#b73030;background-color:#393939;font:10pt monospace;
+set status-css=color:#faf6e5;background-color:#393939;font:10pt monospace;
+set status-ssl-css=color:#99cc99;background-color:#393939;font:10pt monospace;
+set status-ssl-invalid-css=color:#f2777a;background-color:#393939;font:10pt monospace;
diff --git a/dotfiles/.config/vimb/style.css b/dotfiles/.config/vimb/style.css
new file mode 100644
index 0000000..3e3d0b4
--- /dev/null
+++ b/dotfiles/.config/vimb/style.css
@@ -0,0 +1,25 @@
+/* Hint mode color styling
+ *
+ * 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: #5b8277 !important;
+ border: 0 !important;
+ color: #151517 !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: #e6e3d6 !important;
+ color: #151517 !important;
+}
+*[vimbhint='hint focus'] {
+ background-color: #e2b55a !important;
+ color: #151517 !important;
+}