.vimrc

changeset 562
24e09b8ff36c
parent 555
fe459e7fd0af
child 563
c1949730cc74
equal deleted inserted replaced
561:afae5b9713e9 562:24e09b8ff36c
495 495
496 " }}} 496 " }}}
497 497
498 498
499 " {{{ Commands 499 " {{{ Commands
500 command! MailPreview enew | set bt=nofile | silent exe '!mutt-md2html # > #.~htm~'
501 \ | silent exe '0r !links -dump #.~htm~' | silent exe '!rm -f #.~htm~' | 0
502 command! MailPreviewHTML enew | set bt=nofile | execute '0r !mutt-md2html #' | 0
503
500 if !exists(":DiffOrig") 504 if !exists(":DiffOrig")
501 " Diff unsaved buffer 505 " Diff unsaved buffer
502 command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis 506 command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
503 \ | wincmd p | diffthis 507 \ | wincmd p | diffthis
504 endif 508 endif

mercurial