Go to file
2015-11-25 22:44:12 +01:00
after/syntax Use italic font for emph when tex_conceal='' 2015-11-11 21:02:03 +01:00
autoload Simplified and refactored fold.vim (#283) 2015-11-25 22:30:27 +01:00
compiler Add support for babel warnings (#265) 2015-11-03 22:07:41 +01:00
doc Updated docs on folding (#283) 2015-11-25 22:44:12 +01:00
ftplugin Removed deprecation warning 2015-06-06 19:33:11 +02:00
indent Fix tikz indentation (#271) 2015-11-10 20:06:26 +01:00
test Added option to fix quickfix with noautochdir 2015-11-20 09:47:51 +01:00
.gitignore Ignore extra files for tests 2014-06-10 20:02:15 +02:00
README.md Added disabled filter and documentation for imaps 2015-10-19 22:05:30 +02:00

vimtex

A vim plugin that provides support for writing LaTeX documents.

Features

Below is a list of features offered by vimtex. The features are accessible as both commands and mappings. The mappings generally start with <localleader>l, but if desired one can disable default mappings to define custom mappings. All features are enabled by default, but each feature may be disabled if desired.

  • Document compilation with latexmk
  • Support for several PDF viewers with forward search
  • Completion of citations and labels
  • Document navigation through
    • table of content
    • table of labels
  • Word count (through texcount)
  • Motions
    • Move between sections with [[, [], ][, ]]
    • Move between matching delimiters with %
  • Text objects
    • ie ae LaTeX environments
    • i$ a$ Inline math structures
    • id ad Delimiters
  • Other mappings
    • Delete the surrounding command or environment with dsc/dse
    • Change the surrounding command or environment with csc/cse
    • Toggle starred environment with tse
    • Toggle between e.g. () and \left(\right) with tsd
    • Close the current environment in insert mode with ]]
    • Insert new command with <F7>
    • Convenient insert mode mappings for faster typing of e.g. maths
  • Improved folding (:h 'foldexpr')
  • Improved indentation (:h 'indentexpr')
  • Improved syntax highlighting
    • Highlight matching delimiters
    • Support for biblatex/natbib package
    • Support for cleveref package
    • Support for listings package
    • Support for minted package
    • Support for dot2tex with nested syntax highlighting

See the documentation for a more thorough introduction of the plugin (e.g. :h vimtex).

Installation

If you use vim-plug, then add the following line to your vimrc file:

Plug 'lervag/vimtex'

Or use some other plugin manager:

Alternatives

License

The MIT license (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.