dotfiles/.vimrc

12 lines
333 B
VimL
Raw Normal View History

2019-07-20 17:49:28 +00:00
" some custom commands
"
" insert mom templates
command Tmomc :r ~/Documents/templates/chapter.mom
command Tmomg :r ~/Documents/templates/general.mom
2019-07-29 18:13:23 +00:00
command Tmomr :r ~/Documents/templates/recipe.mom
2019-07-20 17:49:28 +00:00
2019-07-20 18:04:12 +00:00
" run groff+refer on file
2019-07-20 18:18:17 +00:00
:command Groff !p="%"; refer -PS -e -p ~/Documents/bib ${p::-4}.mom | groff -mom -Tpdf >> ${p::-4}.pdf