On Wed, 26 Aug 2009 06:39:12 -0700
Danny Colligan <[email protected]> wrote:

> 
> Hello,
> 
> In ex mode, I often make the typo of having the first letter of the
> command capitalized (for instance, ":Set nu" instead of ":set nu")
> since my finger is still on the shift key after typing the colon.
> Some ex commands I have aliased such that this isn't a problem.  Here
> is one line from my .vimrc: "command! Q quit".  However, with other
> commands such as set, this kind of aliasing does not work, and vim
> does not recognize ":Set" as a valid ex command.  Is there any way to
> make the ":Set nu" command behave identical to the ":set nu" command?

You might want to try :cmap Set set, but it has its drawbacks, such as
a timeout to the whole thing.

Vlad

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to