Ⅰ. 插件描述
vim breakindent patchⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'jezcope/vim-breakindent'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'jezcope/vim-breakindent'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'jezcope/vim-breakindent'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/jezcope/vim-breakindent
Ⅳ. 文档说明
# breakindent patch for vim
This was my fork of Václav Šmilauer's breakindent patch for vim, most recently updated by Eli Carter. It causes wrapped lines to be indented to line up with the start of the line, which is quite useful when editing anything that has multiple levels of indent.
Since vim 7.4.338 (released 25 June 2014) this has been incorporated into the vim mainline, so the patch is no longer needed. Just do :he 'breakindent' to find out more.