sponsor Vim development Vim logo Vim Book Ad

altercmd : Alter built-in Ex commands by your own ones

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

created by
Kana Natsuno
 
script type
utility
 
description
*altercmd* is a Vim plugin to provide an easy way to alternate built-in Ex
commands by user-defined Ex commands.  This plugin provides |:AlterCommand|
for this purpose.  For example, if you define :CD, a custom version of |:cd|,
add the following in your vimrc.

AlterCommand cd  CD

With the above setting, you can use :cd as if it is :CD.  It means that :CD
will be automatically inserted if you type :cd as an Ex command, so you don't
have to type :CD to use :cd and you'll never encounter mistyping :cd and :CD.

:AlterCommand also supports partial command names.  For example, |:help| can
be invoked with :h, :he, :hel or :help.

AlterCommand h[elp]  HELP

With the above setting, you can use :h, :he, :hel and :help as if they are
:HELP, your own version of :help.


Requirements:
- Vim 7.2 or later

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

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

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