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 |