" some custom commands " " insert mom templates command Tmomc :r ~/Documents/templates/chapter.mom command Tmomg :r ~/Documents/templates/general.mom command Tmomr :r ~/Documents/templates/recipe.mom command Tmome :r ~/Documents/templates/english.mom command Tmd :r ~/Documents/templates/md.html " run groff+refer on file :command Groff !p="%"; refer -PS -e -p ~/Documents/bib ${p::-4}.mom | groff -mom -Tpdf > ${p::-4}.pdf :command Grofft !p="%"; refer -PS -e -p ~/Documents/bib ${p::-4}.mom | groff -mom -T ascii > ${p::-4}.txt :command Man !p="%"; groff -man -T ascii ${p::-4}.man > ${p::-4}.txt :command Md !p="%"; cmark --unsafe ${p::-3}.md | h2p - ${p::-3}.pdf " nice line numbers set number set relativenumber " syntax hilighting syntax on color pablo