Ⅰ. 插件描述
File type plugin for folding TeX filesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'matze/tex-fold'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'matze/tex-fold'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'matze/tex-fold'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/matze/vim-tex-fold
Ⅳ. 文档说明
# tex-fold
A light-weight alternative to vim-latexsuite's folding. It uses a simplefoldexpr
to capture \section
s, \subsection
s and blocks defined with\begin
and \end
. However, you are not limited to the foldexpr
method and
can still define manual markers, e.g.
%{{{ Packages
\usepackage{hyperref}
%}}}
To customize vim-tex-fold, have a look at the
options.
Installation
vim-tex-fold is compatible with all major plugin managers. To install it with
Vundle, add
Bundle 'matze/vim-tex-fold'
to your .vimrc
License
This plugin is licensed under MIT license.