commit f03c665cda09bacedc30acff58fb42cec6197f84
parent 1efcb9fd13bf650991c5ce9c82fd14e51dac2159
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Thu, 26 Nov 2020 16:24:05 -0800
Reconfigure and cleanup
Remove verbose comments and font size changing keybinds.
Disable WebGL and plugins and double scroll step.
Diffstat:
1 file changed, 16 insertions(+), 24 deletions(-)
diff --git a/modules/vimb/.config/vimb/config b/modules/vimb/.config/vimb/config
@@ -2,43 +2,34 @@
set home-page=about:blank
set download-path=~/dl/vimb/
-set incsearch=true
-
-# whether to draw background images
+set incsearch=false
set print-backgrounds=false
-
-# whether tab cycles hrefs
set tabs-to-links=true
-
-# whether webinspecter option, on right click, is available.
set webinspector=true
-
-# hide input box providing it's empty.
set input-autohide=true
+set plugins=false
+set stylesheet=true
-# external commands:
+# external
set editor-command=st -e vim %s
-# fonts:
+# fonts
set default-font=DejaVu Sans
set serif-font=DejaVu Serif
set monospace-font=DejaVu Sans Mono
set sans-serif-font=DejaVu Sans Serif
-# search engines:
+# shortcuts
shortcut-add https=https://searx.be/?q=$0&categories=general&language=en-US
shortcut-add onion=http://hmfztxt3pfhevucl.onion/?q=$0&catagories=general&language=en-US
shortcut-add onion2=http://juy4e6eicawzdrz7.onion/?q=$0&catagories=general&language=en-US
shortcut-default onion2
-# keybinds:
+# keybinds
nn <C-J> :set scripts!<CR>r<CR>
nn <C-K> :set images!<CR>
nn <C-L> :set status-bar!<CR>
nn <C-M> :set stylesheet!<CR>
-nn <C-E> :set font-size-=1<CR>
-nn <C-R> :set font-size+=1<CR>
-nn <C-W> :set font-size=15<CR>
# css
set completion-css=background:#000;color:#fff;
@@ -50,12 +41,11 @@ set status-css=background:#fff;color:#000;
set status-ssl-css=background:#99f;color:#000;
set status-ssl-invalid-css=background:#f00;color:#000;
-# performence:
+# performance
set accelerated-2d-canvas=true
set hardware-acceleration-policy=ondemand
-set webgl=true
-# security:
+# security
set strict-ssl=true
set scripts=false
set allow-file-access-from-file-urls=false
@@ -67,24 +57,26 @@ set javascript-can-access-clipboard=false
# NOTE: could easily be out of date.
set user-agent=Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0
set xss-auditor=true
+set webgl=false
-# media:
+# multi-media
set media-playback-requires-user-gesture=true
set mediasource=false
set media-stream=false
set images=false
+set webaudio=false
-# disk:
+# disk
set html5-database=false
set offline-cache=false
set html5-local-storage=false
-# navigation:
-set scroll-step=100
+# navigation
+set scroll-step=200
set smooth-scrolling=false
set spacial-navigation=false
-# hinting:
+# hinting
set hint-follow-last=false
set hint-timeout=0
set hint-keys=asdfjkl