simplify

Wed, 31 May 2017 12:17:38 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 31 May 2017 12:17:38 -0400
changeset 589
be78943b95de
parent 588
8bf53485a2ae
child 590
8d27d60a9cbc

simplify

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -448,11 +448,9 @@ let g:interestingWordsRandomiseColors = 
 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
 
-if !exists(":DiffOrig")
-  " Diff unsaved buffer
-  command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
-		  \ | wincmd p | diffthis
-endif
+" Diff unsaved buffer
+command! DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
+                \ | wincmd p | diffthis
 " }}}
 
 " Local stuff, finish up

mercurial