summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/vimb/config93
-rw-r--r--.config/vimb/style.css55
2 files changed, 148 insertions, 0 deletions
diff --git a/.config/vimb/config b/.config/vimb/config
new file mode 100644
index 0000000..708ab74
--- /dev/null
+++ b/.config/vimb/config
@@ -0,0 +1,93 @@
+# vim: ft=conf
+# Homepage that vimb opens if started without a URI.
+set home-page=https://duckduckgo.com/
+
+# Path to the default download directory. If no download directory is set,
+# download will be written into current directory. The following pattern will
+# be expanded if the download is started '~/', '~user', '$VAR' and '${VAR}'.
+set download-path=~/dl/
+
+# Command with placeholder '%s' called if form field is opened with $EDITOR to
+# spawn the editor-like `x-terminal-emulator -e vim %s'. To use Gvim as the
+# editor, it's necessary to call it with `-f' to run it in the foreground.
+set editor-command=st -e nvim %s
+
+# If enabled the inputbox will be hidden whenever it contains no text.
+set input-autohide=true
+
+# Enable or disable the spell checking feature.
+set spell-checking=true
+
+# Set comma separated list of spell checking languages to be used for
+# spell checking.
+set spell-checking-languages=en
+
+# Enable or disable support for WebGL on pages.
+set webgl=false
+
+# While typing a search command, show where the pattern typed so far matches.
+set incsearch=true
+
+# The font family to use as the default for content that does not specify a
+# font.
+set default-font=BlexMono Nerd Font
+
+# The font family used as the default for content using monospace font.
+set monospace-font=BlexMono Nerd Font
+
+# The font family used as the default for content using sans-serif font.
+set sans-serif-font=BlexMono Nerd Font
+
+# The font family used as the default for content using serif font.
+set serif-font=BlexMono Nerd Font
+
+# The default font size used to display text.
+set font-size=16
+
+# Default font size for the monospace font.
+set monospace-font-size=13
+
+# Default Full-Content zoom level in percent. Default is 100.
+set default-zoom=110
+
+# Shortcuts allow the opening of an URI built up from a named template with
+# additional parameters.
+shortcut-add duck=https://duckduckgo.com/?q=$0
+shortcut-add d=http://dict.cc/?s=$0
+shortcut-add g=https://encrypted.google.com/search?q=$0
+shortcut-add y=http://www.youtube.com/results?search_query=$0
+shortcut-add s=https://www.startpage.com/do/dsearch?query=$0
+
+# Set the shortcut as the default, that is the shortcut to be used if no
+# shortcut is given and the string to open is not an URI.
+shortcut-default duck
+
+# Map page zoom in normal mode to keys commonly used across applications
+# + (zoom in), - (zoom out), = (zoom reset)
+nmap + zI
+nmap - zO
+nmap = zz
+nmap H <C-o>
+nmap L <C-o>
+nmap , :set stylesheet=false<CR>
+nmap . :set stylesheet=true<CR>
+nmap <C-b> :set status-bar=true<CR>
+nmap <C-n> :set status-bar=false<CR>
+
+set dark-mode=true
+set status-bar=false
+set javascript-can-access-clipboard=false
+set intelligent-tracking-prevention=true
+set geolocation=never
+set user-agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
+
+# GUI color settings
+# Color scheme: Base16 Eighties (https://github.com/chriskempson/base16)
+set completion-css=color:#ebdbb2;background-color:#32302f;font:12pt BlexMono Nerd Font;
+set completion-hover-css=color:#ebdbb2;background-color:#32302f;font:12pt BlexMono Nerd Font;
+set completion-selected-css=color:#ebdbb2;background-color:#515151;font:12pt BlexMono Nerd Font;
+set input-css=color:#ebdbb2;background-color:#32302f;font:12pt BlexMono Nerd Font;
+set input-error-css=color:#f2777a;background-color:#393939;font:12pt BlexMono Nerd Font;
+set status-css=color:#ffcc66;background-color:#32302f;font:12pt BlexMono Nerd Font;
+set status-ssl-css=color:#99cc99;background-color:#32302f;font:12pt BlexMono Nerd Font;
+set status-ssl-invalid-css=color:#f2777a;background-color:#32302f;font:12pt BlexMono Nerd Font;
diff --git a/.config/vimb/style.css b/.config/vimb/style.css
new file mode 100644
index 0000000..4aa6214
--- /dev/null
+++ b/.config/vimb/style.css
@@ -0,0 +1,55 @@
+body::-webkit-scrollbar {
+ display: none;
+}
+
+*,div,pre,textarea,body,input,td,tr,p {
+ background-color: #1d2021 !important;
+ background-image: none !important;
+ color: #ebdbb2 !important;
+}
+h1,h2,h3,h4 {
+ background-color: #1d2021 !important;
+ color: #ebdbb2 !important;
+}
+a {
+ color: #458588 !important;
+}
+a:hover,a:focus {
+ color: #458588 !important;
+}
+a:visited {
+ color: #b16286 !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;
+}