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

Sun, 12 Mar 2023 01:58:19 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 12 Mar 2023 01:58:19 -0600
changeset 1079
b59861305252
parent 1078
aa4c1aa529a5
child 1155
fcec334dfe7a
permissions
-rw-r--r--

port :Grep to lua

1022
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 command! SyntaxCompleteOn setl omnifunc=syntaxcomplete#Complete
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 command! Mksession execute "mksession! " . v:this_session
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 command! PruneSession call vimrc#PruneSession()
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 " Preview markdown mail -- I edit with headers so I box them in a code block.
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 command! MailPreview enew | set bt=nofile | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html | mutt-html2txt' | 0
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 command! MailPreviewHTML enew | set bt=nofile | setf html | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html' | 0

mercurial