On Wednesday 26 August 2009 08:39:12 Danny Colligan 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?

if you want to consider something different, if you never use 
single line searches and repeat them, make your life easier and 
put

nnoremap ; :

in your .vimrc -- ie, map semi-colon to colon, use the semi-colon 
to start ex mode, and your finger won't be anywhere near the 
shift key when it's time to start typing the command

sc

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

Reply via email to