Thank you, Ben. Your explanation made it much clear to me.
I use Ctrl+z for undo, just like all other programs in the windows.
The setting for undo and redo is not included here because I started
using vim with a configuration file from my friend. Now I want to
upgrade
 from 6.3 to the latest version, and found that my configuration is
too  messy.
It's time to clean things up.

On Mar 8, 10:26 pm, Ben Fritz <[email protected]> wrote:
> On Mar 8, 6:28 am, oversky <[email protected]> wrote:
>
> > I don't like the hjkl key for moving cursor. Instead, I prefer jkli.
> > Is noremap the best command that I should use to keep maximum
> > copatibilities? I am quite confused with all remap commands. Please
> > suggest the best command for the following configuration. Thank you.
>
> Yes, you'd want noremap. Or, nnoremap, vnoremap, and onoremap, but
> just noremap will get you all three.
>
> The difference between all of these is the modes it works in,
> determined by the 1-letter prefix to the noremap command. There are
> more, but the big ones to remember are:
>
> n - normal mode
> v - visual mode
> i - insertion mode
>
> and to a lesser extent:
>
> o - operator-pending mode (allowing you to use your remapped movement
> keys for things like the d{motion} or c{motion} commands).
>
> Out of curiosity, I see that you have remapped the u and <c-r>
> commands. What do you use for undo and redo? You've remapped many
> other very useful built-in commands, but those are the two most
> shocking to me.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to