How to Make Vim Trigger Builds in a Terminal

In Vim, it’s easy to run builds with :make and :set makeprg, but just for fun I tried out making Vim trigger builds in a separate terminal. Though :make is really useful in general, there are some advantages of doing it this way instead: The output is separate from your Vim window. If there’s a lot of output, it won’t cover up you editing window, but you can still read it....

How to Automatically Generate and Preview LaTeX Files with Vim

If you use a fancy LaTeX editor like Lyx or Gummi, you can see a preview of the document you are editing in real time. This is important for LaTeX since the output looks so different than the source. I prefer to use more general text editors, like Vim. Vim doesn’t have any built in support for previewing LaTeX documents, but it is still very simple to set up the automatic generation of the PDF output using Vim....