Skip to content

Instantly share code, notes, and snippets.

@megamind1230
megamind1230 / .obsidian.vimrc
Last active May 26, 2024 17:17
current state of my vimrc at 26-5-2024
" huge thanks to Keshav13142’s https://gist.github.com/Keshav13142
" (make sure to remove default Obsidian shortcuts if any conflicts happen)
" sometimes we use exmap to make aliases for long commands .. cuz of a bug in
" CodeMirror {it cannot handle many arguements}
" j AND k navigate visual lines rather than logical ones {both n&v modes}
nmap j gj
nmap k gk
vmap j gj