config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit a7194da3c15798b2a9e48a8f860c0c9784df7134
parent 21d931a9766e512e691e70bfb01c3effd7b9ae44
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Wed,  2 Sep 2020 21:55:12 -0700

Change zoom keybinds and improve style

change zoom keybinds as they were awkward and for some reason with C-M <CR>
gets bound to it aswell.

fix statusbar keybind which should have been status-bar.

group some random self explanitory settings together without comments.

improve some comments by removing extra verbosity.

Diffstat:
Mvimb/.config/vimb/config | 35++++++++++++++---------------------
1 file changed, 14 insertions(+), 21 deletions(-)

diff --git a/vimb/.config/vimb/config b/vimb/.config/vimb/config @@ -1,52 +1,45 @@ # vimb configuration -# homepage: does not, unfortunatly, expand `~` or variables. +# other: set home-page=about:blank - -# whether to draw images -set print-backgrounds=false - -# zoom: full content zoom set default-zoom=100 - -# download path: if none, working directory. supports `~` and varable expansion. set download-path=~/dl/ +set incsearch=true -# editor: use -f for graphical editors -set editor-command=st -e vim %s +# whether to draw background images +set print-backgrounds=false # whether tab cycles hrefs set tabs-to-links=true -# show search results before you've completed entering them. -set incsearch=true - # whether webinspecter option, on right click, is available. set webinspector=true # hide input box providing it's empty. set input-autohide=true +# external commands: +set editor-command=st -e vim %s + # fonts: set default-font=DejaVu set monospace-font-size=13 set font-size=15 -# search engine shortcuts: +# search engines: 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 -# add keybinds: <CR> enters command immidiately. variable! toggles booleans (no equal sign). +# keybinds: nmap <C-K> :set images!<CR> nmap <C-S> :set stylesheet!<CR> nmap <C-J> :set scripts!<CR>r<CR> -nmap <C-B> :set statusbar!<CR> -nmap <C-M> :set font-size+=1<CR> -nmap <C-N> :set font-size-=1<CR> -# this could be more intuitive -nmap <C-L> :set font-size=15<CR> +nmap <C-B> :set status-bar!<CR> +nmap <C-R> :set font-size+=1<CR> +nmap <C-E> :set font-size-=1<CR> +nmap <C-W> :set font-size=15<CR> # css: set completion-css=color:#fff;background-color:#000;font:10pt monospace @@ -73,7 +66,7 @@ set javascript-can-access-clipboard=false set user-agent=Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0 set xss-auditor=true -# non-text media +# media: set media-playback-requires-user-gesture=true set mediasource=false set media-stream=false