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.

52 lines
1.4 KiB

2 years ago
" General Settings
set update.lastchecktime 1670274234332
set configversion 2.0
set editorcmd /opt/homebrew/bin/neovide
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
autocmd DocStart youtube.com mode ignore
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
2 years ago
autocontain tana\.inc google
2 years ago
" github
" https://docs.github.com/en/get-started/using-github/keyboard-shortcuts
1 year ago
unbindurl ^https://github.com/ s " focus the search bar
unbindurl ^https://github.com/ t " activate the file finder
unbindurl ^https://docs.rs/ s " focus the search bar
2 years ago
" vim: set filetype=tridactyl