I want to move the cursor without using arrow keys in insert mode too. I've tried the following:
:imap <A-h> <Left>
but after moving cursor left by Alt-H from insert mode I get back to normal mode, which makes this mapping useless.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community