.config/nvim/plugin/vimrc/commands.vim

changeset 1155
fcec334dfe7a
parent 1079
b59861305252
equal deleted inserted replaced
1154:dc04a7db1e83 1155:fcec334dfe7a
1 command! SyntaxCompleteOn setl omnifunc=syntaxcomplete#Complete 1 command! SyntaxCompleteOn setl omnifunc=syntaxcomplete#Complete
2 2
3 command! Mksession execute "mksession! " . v:this_session 3 command! Mksession execute "mksession! " . v:this_session
4 command! PruneSession call vimrc#PruneSession()
5 4
6 " Preview markdown mail -- I edit with headers so I box them in a code block. 5 " Preview markdown mail -- I edit with headers so I box them in a code block.
7 command! MailPreview enew | set bt=nofile | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html | mutt-html2txt' | 0 6 command! MailPreview enew | set bt=nofile | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html | mutt-html2txt' | 0
8 command! MailPreviewHTML enew | set bt=nofile | setf html | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html' | 0 7 command! MailPreviewHTML enew | set bt=nofile | setf html | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html' | 0

mercurial