commit 72a5a129dcb6c8f6a3c08ae8040360cf6ea383d4
parent f23c52220fc73d98c76ba7b231d188ca599e301c
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Tue, 14 Jul 2020 16:17:38 -0700
Fix bugs and remove unused options
remove zoom keybinds as it was causing <CR> and C-J to zoom out.
fix firing selected (always first) hint on keypress by setting hint-timeout=0
remove most search engine shortcuts
remove redundent comments
Diffstat:
1 file changed, 4 insertions(+), 23 deletions(-)
diff --git a/vimb/.config/vimb/config b/vimb/.config/vimb/config
@@ -25,30 +25,20 @@ set webinspector=true
# hide input box providing it's empty.
set input-autohide=true
-
# fonts:
set default-font=DejaVu
set monospace-font-size=13
set font-size=15
-
# search engine shortcuts:
-shortcut-add dk=https://duckduckgo.com/lite/?q=$0
-shortcut-add sp=https://www.startpage.com/do/dsearch?query=$0
-shortcut-add searx=https://searx.be/?q=$0&categories=general&language=en-US
-shortcut-add st0=http://searx.ecpuepfcd3nekvh2.onion/?q=$0&categories=general&language=en-US
-shortcut-add st1=http://juy4e6eicawzdrz7.onion/?q=$0&categories=general&language=en-US
-
-# set default URI shortcut:
-shortcut-default st1
-
+shortcut-add https=https://searx.be/?q=$0&categories=general&language=en-US
+shortcut-add onion=http://juy4e6eicawzdrz7.onion/?q=$0&categories=general&language=en-US
+shortcut-default onion
# 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>
-nmap <C-N> :set default-zoom+=10<CR>
-nmap <C-M> :set default-zoom-=10<CR>
# css:
set completion-css=color:#fff;background-color:#000;font:10pt monospace
@@ -56,14 +46,12 @@ 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
@@ -89,16 +77,9 @@ set html5-local-storage=false
# navigation:
set scroll-step=100
set smooth-scrolling=false
-# basicly, arrow keys to move to various input boxes in general directions using some algerithm.
set spacial-navigation=false
-
# hinting:
-# wheather to automaticly select if there is only one hint.
set hint-follow-last=false
-
-# use the home row for hinting keys
+set hint-timeout=0
set hint-keys=asdfjkl
-
-# follow hint after n seconds of inactivity.
-set hint-timeout=1