dotfiles/.vimrc

16 lines
563 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-10-21 17:22:55 +00:00
command Tmome :r ~/Documents/templates/english.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
2019-10-27 17:36:26 +00:00
:command Grofft !p="%"; refer -PS -e -p ~/Documents/bib ${p::-4}.mom | groff -mom -T ascii >> ${p::-4}.txt
2020-03-13 01:51:01 +00:00
:command Man !p="%"; groff -man -T ascii ${p::-4}.man >> ${p::-4}.txt
2019-10-27 17:36:26 +00:00