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-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
|