incbool.vim


Ⅰ. 插件描述

The plugin allows to increment not only numbers but also and bools

Ⅱ. 基本信息

创建日期:  2012-11-21
使用用户:  6
Github星:  3
插件作者:  Dmitry Petrov

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'can3p/incbool-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'can3p/incbool-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'can3p/incbool-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/can3p/incbool.vim

Ⅳ. 文档说明

incbool.vim

The plugin allows to increment not only numbers but also allows to change between
binary words.

To do it plugin modifies native C-A/C-X commands and makes true <-> false,
True <-> False and TRUE <-> FALSE transitions depending on the word under cursor.

List of Words

  • true - false
  • asc - desc
  • show - hide

Known Issues

Plugin does not ensures if cursor will get out of the word boundaries after convertion.

添加新评论