Go to file
Luc Grosheintz a1ea8b3fa1 Fix simplistic if pid tests
Add a new function s:latexmk_check_pid(pid) to check whether the given
PID is still alive and is owned by a latexmk process.

This allows
   let g:latex_latexmk_options = '-pvc-'
i.e. compile only when explicitely called.
2014-08-18 20:17:09 +02:00
after/syntax Fix syntax highlighting for biblatex 2014-07-30 10:59:56 +02:00
autoload Fix simplistic if pid tests 2014-08-18 20:17:09 +02:00
doc Added g:latex_toc_hide_preamble (fixes #46) 2014-08-10 20:44:57 +02:00
ftplugin Separate toc init and toc refresh 2014-08-11 22:30:33 +02:00
indent Fixed very stupid mistake 2014-08-11 07:40:42 +02:00
syntax Fixed TOC syntax 2014-08-10 18:33:50 +02:00
test Add local bib files to completion test 2014-07-30 19:57:18 +02:00
.gitignore Ignore extra files for tests 2014-06-10 20:02:15 +02:00
README.md vim-latex now supports Windows 2014-07-15 13:43:34 +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.

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.