I'm a long-time Emacs+AUCTeX user (I even once wrote a short tutorial for it!), but for a couple of different reasons (problems maintaining my Emacs configuration, the beauty of Drew Neil's voice, and simply embracing the uncomfortable) I began looking at (Mac)Vim. As far as general Vim usage is concerned, I can always consult numerous online resources, but it seems that not so many people are using Vim for LaTeX.
So to anyone who's using Vim for editing TeX files, here are my questions:
- Which plugins do you recommend? I've been trying LaTeX-Box and it seems nice, but perhaps there are better solutions?
- Is there something similar to AUCTeX's Preview-mode offered by any Vim plugin?
- Is there a way of automatic formatting/indentation of LaTeX code similar to AUCTeX's
C-c C-q C-s
? Vim's indentation commands don't seem to work properly, or perhaps I just don't know how to use them properly.
I'm happy to hear any advice about the points above, because I'd really like to switch to Vim. I find it quicker, easier to configure (and maintain configuration) and more powerful. It's just that 10 years of AUCTeX habits are hard to get rid off.
cheers; Piotr
:-)
How did the joke go: "vi is a good text editor, emacs is a program to make good text editors"? I'm not sure if it related tovim-latex
, but there was some setting likelet g:tex_flavor=latex
, where it would default toplain
IIRC.