commit b3bcf3370bb7658065b5704b72db8ad9844c6206
parent d8dc1afc9701d003cdbdbef6c7b4e3da9031be0f
Author: jacob@thinkpad <jacobouno@protonmail.com>
Date: Sun, 10 May 2020 15:19:18 -0700
reconfigure, sort, and make costom comments.
Diffstat:
1 file changed, 58 insertions(+), 61 deletions(-)
diff --git a/vimb/.config/vimb/config b/vimb/.config/vimb/config
@@ -1,95 +1,92 @@
-# vim: syntax=cfg
+# homepage: does not, unfortunatly, expand `~` or variables.
+set home-page=.config/homepage/index.html
-#set status-bar=false
-#set geolocation=never
-#set hint-timeout=1
-#set media-playback-allows-inline=false
-#set spell-checking
-#set dark-mode=true
+# zoom: full content zoom
+set default-zoom=100
-set scripts=false
-set images=false
+# download path: if none, working directory. supports `~` and varable expansion.
+set download-path=~/dl/
-# default webpage to open
-set home-page=.config/homepage/index.html
+# editor: use -f for graphical editors
+set editor-command=$TERMINAL -e $EDITOR %s
-# 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/
+# whether tab cycles hrefs
+set tabs-to-links=true
-# 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=$TERMINAL -e "$EDITOR %s"
+# show search results before you've completed entering them.
+set incsearch=true
-# If enabled the inputbox will be hidden whenever it contains no text.
-set input-autohide=true
+# whether webinspecter option, on right click, is available.
+set webinspector=false
-# Enable or disable support for WebGL on pages.
-set webgl=true
+# hide input box providing it's empty.
+set input-autohide=true
-# 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.
+# fonts:
set default-font=DejaVu Sans
-
-# The font family used as the default for content using monospace font.
set monospace-font=DejaVu Sans Mono
-
-# The font family used as the default for content using sans-serif font.
set sans-serif-font=DejaVu Sans
-
-# The font family used as the default for content using serif font.
set serif-font=DejaVu Serif
-
-# The default font size used to display text.
set font-size=15
-
-# 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=100
-# 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
+# search engine shortcuts:
+shortcut-add d=https://duckduckgo.com/lite/?q=$0
shortcut-add s=https://www.startpage.com/do/dsearch?query=$0
-shortcut-add searx=https://searx.be/?q=$0&categories=general&language=en-US
+shortcut-add x=https://searx.be/?q=$0&categories=general&language=en-US
-# 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
+# set default URI shortcut:
+shortcut-default d
-# Map page zoom in normal mode to keys commonly used across applications
-# + (zoom in), - (zoom out), = (zoom reset)
-nmap + zI
-nmap - zO
-nmap = zz
+# add keybinds: <CR> enters command immidiately. variable! toggles booleans (no equal sign).
+nmap <C-K> :set images!<CR>
+nmap <C-S> :set stylesheet!<CR>
+nmap <C-J> :set scripts!<CR>r<CR>
+
+
+# css:
set completion-css=color:#fff;background-color:#000;font:10pt monospace
set completion-selected-css=background-color:#ff0000;
set completion-hover-css=background-color:#ff0000;
set input-css=background-color:#000;color:#fff;font:10pt monospace
+
+# performence:
set accelerated-2d-canvas=true
set hardware-acceleration-policy=ondemand
+set webgl=true
+set images=false
+
+
+# security:
+set strict-ssl=true
+set scripts=false
set allow-file-access-from-file-urls=false
set allow-universal-access-from-file-urls=false
+
+# always, never, or origin (only host site)
set cookie-accept=never
-set default-font=monospace
-set font-size=15
-set hint-follow-last=false
-set hint-keys=asdfjkl
+
+# this option is not availible on openBSD as of yet.
+#set geolocation=never
+
+
+# navigation:
set scroll-step=85
set smooth-scrolling=false
+# basicly, arrow keys to move to various input boxes in general directions using some algerithm.
set spacial-navigation=false
-set strict-ssl=true
-set tabs-to-links=true
-set webinspector=false
+
+
+# hinting:
+# don't automaticly select if there is only one hint.
+set hint-follow-last=false
+
+# use the home row for hinting keys
+set hint-keys=asdfjkl
+
+# follow hint after n seconds of inactivity.
+set hint-timeout=1