Ⅰ. 插件描述
Entering folds and other stuffⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/kent-vim-extensions'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/kent-vim-extensions'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/kent-vim-extensions'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/Kent-Vim-Extensions
Ⅳ. 文档说明
The purpose of these extensions is to make the use of Vim easier, especially for programming tasks, while preserving the extraordinary features of Vim, which make
it (imho) one of the best editors available.
The main part, and probably of most interest for you, is the possibility to enter folds. Entering a fold means to hide everything apart from the fold, so that only the fold you have entered is visible. Thus, you will be able to organise your files much better, and to find and edit certain parts of your files much easier and faster. Especially for long source code files, this is very useful.
There are also a lot of other features, please check out the help on that by typing
:help kent
after installation.
Note: These extensions are tested for Vim version 6.1 onwards. No guarantees for lower versions!
There are the following parts:
Kent Folding Extensions:
Extensions to improve the look and feel of folds.
Especially the possibility to enter folds, inspired by the old origami editor, is very useful.
Improvements to the Look and Feel of Vim and GVim:
The purpose is to make it easier to use Vim, especially for users without a lot of Vim experience.
Kent Programming Extensions:
Extensions useful for programming tasks.
For example commenting out parts of the code depending on the language.
Kent occam Extensions:
Extensions related to the occam language.
Contains syntax and indent files for occam, as well as an easy way to compile, debug and run occam programs.