Mon, 13 Mar 2023 23:43:25 -0500
Port encrypted file edit to lua
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 |