Ⅰ. 插件描述
Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'luisdavim/pretty-folds'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'luisdavim/pretty-folds'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'luisdavim/pretty-folds'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/luisdavim/pretty-folds
Ⅳ. 文档说明
# pretty-folds.vim
This is a very simple plugin to make folding in Vim look better and eazier
Installation
Using pathogen.vim or vundle.vim:
Simply copy and paste:
cd ~/.vim/bundle
git clone git://github.com/luisdavim/pretty-folds.git
An in the case of vundle add `Bundle 'luisdavim/pretty-folds'
` to your .vimrc
Features
See the [source][] for the authoritative list of features:
- Sets fold text style
- Toggle folds using the space key (when foldmethod is set)
'<leader>ft': Fold tags'<leader>ff': Fold brackets'<leader>fp': Fold paragraph'<leader>fi': Fold indentation'<leader>af': Automatic folding (sets foldmethod to syntax)
FAQ
How can I see what this plugin actually does?
The [source][] is authoritative.
Feel free to let me know which setting you object to, so I
can reassess whether it makes sense to include it.
Contributing
I want this to be a plugin nobody objects to installing. [Let me
know][GitHub issues] if you have any objections to anything.
Feel free to ask a question if you're not sure why I've set something, as I
haven't put much effort into documenting that.
Self-Promotion
Like this plugin? Follow the repository on
GitHub and vote for it on
GitHub.
License
Copyright © Luis Davim. Distributed under the same terms as Vim itself.
See :help license.