textobj-word-column.vim


Ⅰ. 插件描述

Adds text-objects for word-based columns in Vim.

Ⅱ. 基本信息

创建日期:  2012-07-18
使用用户:  182
Github星:  187
插件作者:  Jim Garvin

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/coderifous/textobj-word-column.vim

Ⅳ. 文档说明

## textobj-word-column.vim

The word-based column text-object makes operating on columns of code
conceptually simpler and reduces keystrokes.

textobj-word-column

The common task of deleting, changing, or adding to a vertical column of code
can be achieved using visual-blocks, however the first step is to establish
the visual block itself. This typically involves moving the cursor to the
start of the block, and then using vim motions to move the cursor to the end of
the block, and finally doing the appropriate operation.

With a text object for columns, establishing the visual block is much easier,
and even unecessary for certain operations.

Usage

This plugin adds ic, ac, iC, and aC as text-objects. Use them in
commands like vic, cic, and daC.

Learn more in the plugin doc:

https://github.com/coderifous/textobj-word-column.vim/blob/master/doc/textobj-word-column.txt

添加新评论