color html preview at least

Wed, 31 May 2017 15:10:35 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 31 May 2017 15:10:35 -0400
changeset 590
8d27d60a9cbc
parent 589
be78943b95de
child 591
2ee456c483b0

color html preview at least

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -446,7 +446,7 @@ let g:interestingWordsRandomiseColors = 
 " {{{ Commands
 " Preview markdown mail -- I edit with headers so I box them in a code block.
 command! MailPreview     enew | set bt=nofile | 0r # | exe 'norm 0O```<Esc>}O```' | silent exe '%!mutt-md2html | mutt-html2txt' | 0
-command! MailPreviewHTML enew | set bt=nofile | 0r # | exe 'norm 0O```<Esc>}O```' | silent exe '%!mutt-md2html' | 0
+command! MailPreviewHTML enew | set bt=nofile | setf html | 0r # | exe 'norm 0O```<Esc>}O```' | silent exe '%!mutt-md2html' | 0
 
 " Diff unsaved buffer
 command! DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis

mercurial