Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coderifous/textobj-word-column.vim
Adds text-objects for word-based columns in Vim.
https://github.com/coderifous/textobj-word-column.vim
Last synced: 3 months ago
JSON representation
Adds text-objects for word-based columns in Vim.
- Host: GitHub
- URL: https://github.com/coderifous/textobj-word-column.vim
- Owner: coderifous
- Created: 2012-07-18T11:34:50.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-19T22:00:29.000Z (almost 12 years ago)
- Last Synced: 2024-07-02T08:18:46.410Z (5 months ago)
- Language: VimL
- Size: 133 KB
- Stars: 214
- Watchers: 8
- Forks: 17
- Open Issues: 3
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
## textobj-word-column.vim
The word-based column text-object makes operating on columns of code
conceptually simpler and reduces keystrokes.![textobj-word-column][1]
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
[1]: http://i.imgur.com/AAgM9.gif