sponsor Vim development Vim logo Vim Book Ad

textobj-line : Text objects for the current line

 script karma  Rating 17/7, Downloaded by 1287  Comments, bugs, improvements  Vim wiki

created by
Kana Natsuno
 
script type
utility
 
description
*textobj-line* is a Vim plugin to provide text objects to select a portion of
the current line.  Sometimes you want to select a portion of the current line
like "^vg_" or "0v$h".  This plugin provides the text objects for such ranges.

For example, if the current line equals to "__foo_bar_baz__" (where "_"
represents a whitespace character), you can select "foo_bar_baz" (without
leading and trailing spaces) by |<Plug>(textobj-line-i)| and "__foo_bar_baz__"
(with leading and trailing spaces) by |<Plug>(textobj-line-a)|.


Requirements:
- Vim 7.2 or later
- |textobj-user| 0.3.8 or later (vimscript#2100)

Latest version:
http://github.com/kana/vim-textobj-line

Document
in HTML format:
http://kana.github.com/config/vim/textobj-line.html
 
install details
...
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-textobj-line-0.0.0.zip 0.0.0 2012-01-16 7.0 Kana Natsuno Initial upload
ip used for rating: 3.142.98.108

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github