sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

textobj-motionmotion : Text objects for bounds of 2 motions

 script karma  Rating 0/0, Downloaded by 278    Comments, bugs, improvements  Vim wiki

created by
Takeshi Banse
script type
*textobj-motionmotion* is a Vim plugin to provide text objets to select a
piece of text bounded by the cursor positions of the following 2 motions.

For example, an asterisk (*) is used to denote the cursor position:
"vim3bt." will select 'doc/motion' as follows:
(here (^) indicates the selected texts)
Roughly speaking, this plugin makes an operator such that ["^x]c{motion} to
be able to respond ["x]cim{motion}{motion} (*im* is the default key mapping).
Hence the name "motionmotion" has been derived from.

Note that this plugin is far from complete. Please use *[range]* or
*Visual-mode* in the real world!

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

Latest version:

Document in HTML format:

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
textobj-motionmotion-v0.0.2.2.zip 2013-10-03 7.0 Takeshi Banse Fix docs; thank you very much pekepeke!
textobj-motionmotion-v0.0.2.1.zip 2012-11-16 7.2 Takeshi Banse correct docs; no code changes
textobj-motionmotion-v0.0.2.zip 0.0.2 2012-11-08 7.2 Takeshi Banse Initial upload
ip used for rating:

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.
SourceForge.net Logo