0

The latex package provides MacVim with menu items to compile and preview.

I'd like to execute these functions via keypress, perhaps with \ + something

How to do this?

Phantrast
  • 639
  • 1
  • 9
  • 18

3 Answers3

3

try automatic latex plugin - http://atp-vim.sourceforge.net/ add to your .vimrc

set localleader = "\\"

then compilation is \l and you can view the result with <f3>, and read the documentation :help atp

epsilonhalbe
  • 15,637
  • 5
  • 46
  • 74
0

Light-weight alternative: TeX-PDF.

Jeet
  • 38,594
  • 7
  • 49
  • 56
0

I really enjoy using LaTeX Box when writing LaTeX in vim. It includes many handy tools, like background compilation, a table of contents for navigation, and useful key-maps for autocompletion and navigation. I certainly think its worth the (short amount) of time to learn if you are going to be using vim for LaTeX.

kamek
  • 2,390
  • 2
  • 19
  • 15