4 command! PruneSession call vimrc#PruneSession() |
4 command! PruneSession call vimrc#PruneSession() |
5 |
5 |
6 " Preview markdown mail -- I edit with headers so I box them in a code block. |
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 |
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 |
8 command! MailPreviewHTML enew | set bt=nofile | setf html | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html' | 0 |
9 |
|
10 command! -nargs=* -complete=file Grep call vimrc#Grep(<f-args>) |
|