Ⅰ. 插件描述
Sensational tabbingⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'soares/tabloid-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'soares/tabloid-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'soares/tabloid-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/soares/tabloid.vim
Ⅳ. 文档说明
# Tabloid
Sensational tabbing
Tabloid helps out your tabbing. It has two main uses:
- Fix tabbing
- Change tabbing
:TabloidFix fixes tabbing, making everything in a given range conform to your
current 'expandtab', 'shiftwidth', and 'tabstop' settings.
:TabloidSpacify and :TabloidTabify change tabbing once it's consistent. They
take a count specifying how wide to make the new indent levels, and with some
clever mappings they make it very easy to change the indentation in any file.
See ':help tabloid' for key mappings, statusline integration, extra commands,
and more.