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