Automatically compile tex files on save in vim

If you're using the Vim editor, like me, here is another option to automatically run commands (like compilers) when you save a file.

Put this in your ~/.vimrc:

au BufWritePost _.tex,_.sty make

This will run the Vim-builtin make everytime you save a tex or sty file.


🗣 Comments

I manually review comments so it may take a while for your comment to get published.