vimtex/README.md
2015-03-08 19:12:31 +01:00

1.9 KiB

vimtex

Introduction

vimtex is a vim plugin that provides support for writing LaTeX documents. The main features are:

  1. Control over document compilation (through latexmk)
  2. Completion of citations and labels
  3. A Convenient table of contents
  4. Control over pdf viewers with forward search for several different viewers
  5. Some vim motions and mappings See the documentation for a more thorough introduction of the plugin.

Installation

With gmarik vundle

https://github.com/gmarik/vundle

Add Plugin 'lervag/vimtex' 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/vimtex' 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 vimtex bundle to your bundle directory, for instance with git clone. This will typically be enough:

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

Without a plugin manager

Copy the directories to your .vim/ folder.

Alternatives

There exists several vim plugins for writing LaTeX documents. Some of the most popular and/or interesting ones are: