LaTeX Box


Ⅰ. 插件描述

Lightweight Toolbox for LaTeX

Ⅱ. 基本信息

创建日期:  2010-06-03
使用用户:  25
Github星:  15
插件作者:  David Munger

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/latex-box'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/latex-box'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/latex-box'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/LaTeX-Box

Ⅳ. 文档说明

This plugin provides:

  • Background compilation using latexmk;
  • Completion for commands, environments, labels, and bibtex entries;
  • A simple table of contents;
  • Smart indentation (activated with "set smartindent");
  • HIghlight matching begin/end pairs;
  • Motion between begin/end pairs with the % key;
  • Motion through brackets/braces (with user-defined keys);
  • Environment objects (e.g., select environement with "vie" or "vae");
  • Inline math objects (e.g., select inline math with "vi$" or "va$").

See ":help latex-box" for more details.

This plugins aims at being lightweight and simple. For more fully-fledged plugins, see:

  • LaTeX-Suite: vimscript#475
  • AutomaticTexPlugin: vimscript#2945

添加新评论