altercmd : Alter built-in Ex commands by your own ones
script karma |
Rating 12/3,
Downloaded by 1271 |
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 |
... |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|