Go to file
2015-01-27 21:12:57 +01:00
after/syntax Added support for dot2tex (fixes #88) 2014-12-25 20:35:47 +01:00
autoload Add commands dsc and csc (solves #97) 2015-01-27 21:12:57 +01:00
doc Moved several options 2015-01-26 15:41:40 +01:00
ftplugin Add shiftwidth to modelines 2014-12-08 20:44:17 +01:00
indent Moved several options 2015-01-26 15:41:40 +01:00
syntax Add shiftwidth to modelines 2014-12-08 20:44:17 +01:00
test Accept surrounding spaces in input for TOC (see #63) 2014-11-19 09:13:55 +01:00
.gitignore Ignore extra files for tests 2014-06-10 20:02:15 +02:00
README.md Update README.md 2015-01-18 16:11:09 +01: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 that vim-latex should not be confused with LaTeX-Suite, which is also to some extent known as vim-latex. The present plugin is not related to LaTeX-Suite in any way.

Read the documentation for a more thorough introduction.

Installation

With gmarik vundle

https://github.com/gmarik/vundle

Add Plugin 'lervag/vim-latex' to your ~/.vimrc and run :PluginInstall 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.