From 9fa260b941375377f9ffe5ebf92dd9f978f84d9c Mon Sep 17 00:00:00 2001 From: LickTheCheese Date: Sat, 20 Jul 2019 14:18:17 -0400 Subject: [PATCH] added some more commands --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 14cf5e0..4f83049 100644 --- a/.vimrc +++ b/.vimrc @@ -7,4 +7,4 @@ command Tmomc :r ~/Documents/templates/chapter.mom command Tmomg :r ~/Documents/templates/general.mom " run groff+refer on file -:command Groff !refer -PS -e -p ~/Documents/bib % | groff -mom -Tpdf >> ${"%"::-4}.pdf +:command Groff !p="%"; refer -PS -e -p ~/Documents/bib ${p::-4}.mom | groff -mom -Tpdf >> ${p::-4}.pdf