Go to file
2015-03-21 11:54:07 +01:00
after/syntax Add autoref syntax and completion 2015-03-12 09:56:24 +01:00
autoload Implemented a new system for displaying ToCs 2015-03-21 11:54:07 +01:00
compiler Changed plugin name to vimtex 2015-03-08 17:15:44 +01:00
doc Added indentation file for bibliographies 2015-03-19 15:11:11 +01:00
ftplugin Implemented a new system for displaying ToCs 2015-03-21 11:54:07 +01:00
indent Script local indent function was not recognized 2015-03-19 15:12:41 +01:00
test Updated test cases 2015-03-08 19:54:50 +01:00
.gitignore Ignore extra files for tests 2014-06-10 20:02:15 +02:00
README.md More minor updates to README 2015-03-08 19:17:20 +01:00

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: