Skip to content

rhysd/vim-textobj-word-column

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 iv, av, iV, and aV as text-objects. Use them in commands like viv, civ, and daV.

Learn more in the plugin doc:

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%