Ⅰ. 插件描述
Fold expression for ini-like filesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'matze/vim-ini-fold'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'matze/vim-ini-fold'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'matze/vim-ini-fold'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/matze/vim-ini-fold
Ⅳ. 文档说明
# ini-fold
Fold expression for ini-like files in which sections are denoted by [section]
- Folds can be disabled for specific file types by setting the
- entry in
g:ini_fold_enabled_filetypesto 0, e.g.
let g:ini_fold_enabled_filetypes['gitconfig'] = 0
let g:ini_fold_enabled_filetypes['dosini'] = 0Installation
vim-ini-fold is compatible with all major plugin managers. To install it with
Vundle, add
Bundle 'matze/vim-ini-fold'to your .vimrc
License
This plugin is licensed under MIT license.