Vim logo vim online Vim Book Ad

Visual Mapping Maker : Create a mapping for the visual selected block

 script karma  Rating 3/2, Downloaded by 157

created by
Marc Chantreux
 
script type
utility
 
description
well ... write something like that :

if(|)
{

}

Select it in visual mode, type ',t' and it will replace the block by the equivalent mapping (placing the cursor at the place of the underscore)

feedbacks and bug reports would be very nice
 
install details
- copy the file in plugin directory.
- be sure 'nocompatible' is set
-  You can define :
--> g:VMM_directory (directory where the macros are stored)
--> g:VMM_file (file where the macros are stored)
--> g:VMM_cursor (default cursor symbol)
 

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
vmm.vim 0.1.0 17-Apr-2002 6.0 Marc Chantreux fixed bug : one line block
make sure you've set 'nocompatible'

The new macros are now stored in mapping file for the syntax you're editing (ie : if you edit an xml code, the file  name is xml_mappings.vim)

other features ... see the source (short one)
vmm.vim 0.0.1 08-Mar-2002 6.0 Marc Chantreux Initial upload

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 [email protected] after searching the archive. Help Bram help Uganda.
SourceForge Logo