5 |
5 |
6 command! SyntaxCompleteOn setl omnifunc=syntaxcomplete#Complete |
6 command! SyntaxCompleteOn setl omnifunc=syntaxcomplete#Complete |
7 |
7 |
8 command! Mksession execute "mksession! " . v:this_session |
8 command! Mksession execute "mksession! " . v:this_session |
9 command! PruneSession call vimrc#PruneSession() |
9 command! PruneSession call vimrc#PruneSession() |
10 |
|
11 command! -nargs=* -complete=file Tig call tig#Tig(<f-args>) |
|
12 command! TigBlame call tig#TigBlame() |
|
13 command! TigLog call tig#Tig('log', '-p', '--', expand('%')) |
|
14 |
10 |
15 " Preview markdown mail -- I edit with headers so I box them in a code block. |
11 " Preview markdown mail -- I edit with headers so I box them in a code block. |
16 command! MailPreview enew | set bt=nofile | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html | mutt-html2txt' | 0 |
12 command! MailPreview enew | set bt=nofile | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html | mutt-html2txt' | 0 |
17 command! MailPreviewHTML enew | set bt=nofile | setf html | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html' | 0 |
13 command! MailPreviewHTML enew | set bt=nofile | setf html | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html' | 0 |
18 |
14 |