Some user <[EMAIL PROTECTED]> 写于 2007-03-22 05:14:30:
> I'm new to Vim. I want to change the character before commands. For
example
> saving is done by:
>
> :w <enter>
>
> Can it be made slightly easier by just pressing 'g' or some other key
that's
> not taken? I don't know why every command has to be pre-pended by a
> difficult to reach character like colon.

Sure, I think many Vim users may found this useful:

noremap ; :

then you could use ;w <enter> instead of <shift>:w <enter>

I'm in the same boat, I don't want to press any "chord-combination-keys"
since I can type much faster if there're no <shift>s or <ctrl>s or <alt>s

If you want to change the character into 'g', it may not be a good idea
IMO, since the left hand need to move a bit to reach the 'g' key, while the
';' key is right at the right hand.

--
Sincerely, Pan, Shi Zhu. ext: 2606

Reply via email to