You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.6 KiB

2 years ago
" General Settings
set update.lastchecktime 1670274234332
set configversion 2.0
set editorcmd /opt/homebrew/bin/neovide
" searxng
set searchengine searxng
set searchurls.searxng https://search.kejadlen.dev/search?q=%s
2 years ago
" vimperator hint mode
set hintfiltermode vimperator-reflow
set hintchars 1234567890
" open in safari
2 years ago
command safari composite get_current_url | shellescape | !s open -a Safari | tabclose
2 years ago
" only hint search results on DDG
bindurl ^https://duckduckgo.com f hint -Jc [data-testid="result-title-a"]
bindurl ^https://duckduckgo.com F hint -Jbc [data-testid="result-title-a"]
2 years ago
bindurl ^https://www.instapaper.com/hello2 f hint -Jc button[type="submit"]
2 years ago
" make d take you to the left (I find it much less confusing)
" bind d composite tabprev; tabclose #
" bind D tabclose
" binds
bind j scrollline 3
2 years ago
bind k scrollline -3
2 years ago
bind <C-n> tabnext
bind <C-p> tabprev
" ignore modes
2 years ago
autocmd DocStart nytimes.com/crosswords mode ignore
2 years ago
" new reddit is bad
autocmd DocStart ^http(s?)://www.reddit.com js tri.excmds.urlmodify("-t", "www", "old")
" isolate Facebook in its own container
set auconcreatecontainer true
autocontain facebook\.com facebook
autocontain google\.com google
autocontain notion\.so work
" github
" https://docs.github.com/en/get-started/using-github/keyboard-shortcuts
2 years ago
unbindurl ^https://github.com/ s " focus the search bar
1 year ago
" unbindurl ^https://github.com/ t " activate the file finder
" youtube
unbindurl ^https://youtube.com/ j " back 10s
unbindurl ^https://youtube.com/ l " forward 10s
2 years ago
unbindurl ^https://docs.rs/ s " focus the search bar
2 years ago
" vim: set filetype=tridactyl