Thu, 10 Aug 2023 02:32:37 -0500
Add autopairs with cr-only behavior, switch to treesitter-endwise
1022 | 1 | command! SyntaxCompleteOn setl omnifunc=syntaxcomplete#Complete |
2 | ||
3 | command! Mksession execute "mksession! " . v:this_session | |
4 | command! PruneSession call vimrc#PruneSession() | |
5 | ||
6 | " Preview markdown mail -- I edit with headers so I box them in a code block. | |
7 | command! MailPreview enew | set bt=nofile | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html | mutt-html2txt' | 0 | |
8 | command! MailPreviewHTML enew | set bt=nofile | setf html | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html' | 0 |