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

Mon, 14 Aug 2023 22:04:03 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 14 Aug 2023 22:04:03 -0400
changeset 1127
a120f1d3d932
parent 1079
b59861305252
child 1155
fcec334dfe7a
permissions
-rw-r--r--

tmux: update DBUS_SESSION_BUS_ADDRESS to fix gpg pinentry

command! SyntaxCompleteOn setl omnifunc=syntaxcomplete#Complete

command! Mksession execute "mksession! " . v:this_session
command! PruneSession call vimrc#PruneSession()

" Preview markdown mail -- I edit with headers so I box them in a code block.
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 | setf html | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html' | 0

mercurial