Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Adds text-objects for word-based columns in Vim.
VimL
Branch: master

Use real visual mode mappings.

The normal mode mappings that start with "v" introduce a mapping delay when entering visual mode; this is irritating. Instead, define the mappings directly in visual mode, and disregard the previous selection with <C-u> prepended to the function call, so it works the same.
latest commit cb40e14598
@inkarkat inkarkat authored committed
Failed to load latest commit information.
doc Remove and ignore doc/tags
plugin/textobj Use real visual mode mappings.
.gitignore Remove and ignore doc/tags
README.markdown Tweaked readme verbage.

README.markdown

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

Something went wrong with that request. Please try again.