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

changeset 1079
b59861305252
parent 1078
aa4c1aa529a5
child 1155
fcec334dfe7a
equal deleted inserted replaced
1078:aa4c1aa529a5 1079:b59861305252
4 command! PruneSession call vimrc#PruneSession() 4 command! PruneSession call vimrc#PruneSession()
5 5
6 " Preview markdown mail -- I edit with headers so I box them in a code block. 6 " 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 7 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 8 command! MailPreviewHTML enew | set bt=nofile | setf html | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html' | 0
9
10 command! -nargs=* -complete=file Grep call vimrc#Grep(<f-args>)

mercurial