sponsor Vim development Vim logo Vim Book Ad

doubleTap : Double Tap Certain Characters to insert and jump out of character pairs.

 script karma  Rating 12/3, Downloaded by 490  Comments, bugs, improvements  Vim wiki

created by
jeff buttars
 
script type
ftplugin
 
description
This plugin provides an easy, way to insert matching pair characters, ie: [],(),'', and not so matchy characters like + and . , common concatenation characters.
DoubleTap also provides a quick and easy way to terminate a line no matter where on the line the cursor is.
For instance a double semicolon, ;;, will trim all of the white space at the end of the line and insert a semicolon at the end of the current line.
DoubleTap provides some simple abstraction functions to do the more intricate work and then provides default mappings to wire those functions to characters,pairs and events. You can easily use the core functions provided by doubleTap to create your own mappings and behaviours.
 
install details
unzip doubleTap.zip -d ~/.vim (or equivalent, e.g. $HOME\vimfiles on Windows)
 

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
doubleTap.zip 1 2009-12-20 7.0 jeff buttars Initial upload
ip used for rating: 54.162.69.45

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.
   
OSDN