[Vimprobable-users] Mapping keys to command lines

Hannes Schüller hannes at yllr.net
Sat Nov 20 12:30:50 GMT 2010


Hello everyone,

here is a patch to allow mappings like this:

:map <key>=[command line]

So, for example:

:map <C-e>=:set images=false

Feedback appreciated!

Hannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmd_mappings.patch
Type: text/x-diff
Size: 5136 bytes
Desc: not available
URL: <http://vimprobable.org/pipermail/vimprobable-users/attachments/20101120/a1ae239f/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://vimprobable.org/pipermail/vimprobable-users/attachments/20101120/a1ae239f/attachment-0003.bin>


More information about the Vimprobable-users mailing list