sponsor Vim development Vim logo Vim Book Ad

smarttill : Smart motions, till before/after a punctuation

 script karma  Rating 8/2, Downloaded by 930  Comments, bugs, improvements  Vim wiki

created by
Kana Natsuno
 
script type
utility
 
description
*smarttill* is a Vim plugin to provide {motion}s like |t| and |T|, but they
are smarter than the built-in ones in some sense.  For example, if you edit
the following text and you want to delete a partial text from the cursor till
before a comma, you have to type "dt," (here "|" means the cursor position):

...|Yo DJ, pump this party! ...
    ^^^^^

But it's somewhat annoying to type another character to specify where the
cursor should be moved to explicitly.  It's useful if there is a motion to
move the cursor till before comma, period or other punctuations without
specifying a character.  smarttill provides the features as
|<Plug>(smarttill-t)| and |<Plug>(smarttill-T)|.

See also |smarttill-examples| for customization.


Requirements:
- Vim 7.2 or later

Latest version:
http://github.com/kana/vim-smarttill

Document in HTML format:
http://kana.github.com/config/vim/smarttill.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-smarttill-0.0.0.zip 0.0.0 2009-06-11 7.0 Kana Natsuno Initial upload
ip used for rating: 18.119.111.9

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