» Automaticaly 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.