Go to file
2014-07-09 12:13:26 +02:00
after/syntax Fixed listing syntax 2014-06-04 14:53:49 +02:00
autoload More updates to new TOC system 2014-07-09 12:13:26 +02:00
doc Add close_environment (finishes #11) 2014-07-04 16:12:40 +02:00
ftplugin Closer to a working new TOC system 2014-07-09 12:13:26 +02:00
indent A couple of minor changes 2014-06-23 09:26:47 +02:00
syntax Initial revision 2013-10-05 13:53:42 +02:00
test Added some more to TOC test file 2014-07-09 12:13:26 +02:00
.gitignore Ignore extra files for tests 2014-06-10 20:02:15 +02:00
README.md Added comment about windows support to README 2014-07-04 15:46:21 +02:00

vim-latex

Introduction

There exists several LaTeX plugins for vim, for instance:

I have been using both LaTeX-Suite and LaTeX-Box myself, but I found both of these to be relatively bulky and difficult to manage and extend. LaTeX-Box was supposed to be simple and lightweight, and I think it was close to being just that. However, after having worked on it for some time, I felt that much of the simplicity could be improved by a complete restructuring.

Enter vim-latex, which is a lightweight and simple plugin that provides LaTeX support for vim. It has most of the functionality of LaTeX-Box, but the idea is to combine vim-latex with the strength of other plugins. I personally recommend UltiSnips for snippets and neocomplete for completion.

Note, however, that I do not fully support windows at the current time. That is, the latexmk functionality will most probably not work. The reason for this is that I do not personally use windows, which makes it difficult to test. With some assistance I might consider adding support for windows at a later time.

Read the documentation for a more thorough introduction.

Installation

With gmarik vundle

https://github.com/gmarik/vundle

Add Bundle 'lervag/vim-latex' to your ~/.vimrc and run :BundleInstall in a vim buffer. Add ! to the command to update.

With neobundle

https://github.com/Shougo/neobundle.vim

Add NeoBundle 'lervag/vim-latex' to your ~/.vimrc and run :NeoBundleInstall in a vim buffer. Add ! to the command to update.

With pathogen

https://github.com/tpope/vim-pathogen

Add the vim-latex bundle to your bundle directory, for instance with git clone. This will typically be enough:

cd ~/.vim/bundle
git clone git://github.com/lervag/vim-latex

Without a plugin manager

Copy the directories to your .vim/ folder.