dot_testing/vimb/config

74 lines
2.5 KiB
Plaintext
Raw Normal View History

2021-05-11 22:10:36 -05:00
# this was copied from this haha
2021-05-09 19:04:25 -05:00
# general settings
set cookie-accept=never
set header=DNT=1,User-Agent
set hint-keys=asdfhjkl
set hint-keys-same-length=true
set html5-database=false
set html5-local-storage=false
set offline-cache=false
set prevent-newwindow=true
set plugins=false
set media-playback-requires-user-gesture=true
set geolocation=never
set hardware-acceleration-policy=always
set scripts=false
set webinspector=true
set xss-auditor=true
set strict-ssl=off
set incsearch=true
set javascript-can-access-clipboard=false
set javascript-can-open-windows-automatically=false
set stylesheet=true
set input-autohide=true
# keybinds
nnoremap : ;
nnoremap ; :
nmap je ;set scripts=on<CR>
nmap jd ;set scripts=off<CR>
nmap jt ;set scripts!<CR>
2021-05-11 22:10:36 -05:00
# start a "less protected" school version of the browser
2021-05-09 19:04:25 -05:00
nmap se ;source ~/.config/vimb/school
nmap sd ;source ~/.config/vimb/config
# browser themeing
set status-css=color: #e8d815; background-color: #202020; font: Fantasque Sans Mono; font-size: 14px;
set status-ssl-css=color: #5d7557; background-color: #202020; font: Fantasque Sans Mono; font-size: 14px;
set status-ssl-invalid-css=color: #e55d4d; background-color: #202020; font: Fantasque Sans Mono; font-size: 14px;
2021-05-09 19:04:25 -05:00
set input-css=color: #ccbc8e; background-color: #202020; font: Fantasque Sans Mono; font-size: 14px;
set input-error-css=color: #e55d4d; background-color: #202020; font: Fantasque Sans Mono; font-size: 14px;
2021-05-09 19:04:25 -05:00
set completion-css=color: #ccbc8e; background-color: #202020; font: Fantasque Sans Mono; font-size: 14px;
set completion-selected-css=color: #202020; background-color: #e8d815; font: Fantasque Sans Mono; font-size: 14px;
set completion-hover-css=color: #202020; background-color: #2d211e; font: Fantasque Sans Mono; font-size: 14px;
2021-05-09 19:04:25 -05:00
# webpage css and stuff (monospace, monospace everywhere!)
set dark-mode=true
set default-font=Fantasque Sans Mono
set font-size=14
set monospace-font=Fantasque Sans Mono
set monospace-font-size=14
set sans-serif-font=Fantasque Sans Mono
set serif-font=Fantasque Sans Mono
# autocommands
aug tilde
au LoadCommitted http{s,}://tildegit.org/*,http{s,}://tilde.zone/* set html5-database=true|set html5-local-storage=true|set scripts=true|set cookie-accept=always
aug end
aug site
au LoadCommitted http{s,}://{www.,}vultr.com/*,http{s,}://{www.,}namecheap.com/* set html5-database=true|set html5-local-storage=false|set scripts=true|set cookie-accept=always
aug end
# automatic gemini/gopher -> http handling
# be forewarned: veyr hacky
aug underground
au LoadStarting {gemini,gopher}://* :shellcmd! urlhandle $VIMB_URI
aug end