Map keys in Vim

Posted by efficiencyIsBliss on Super User See other posts from Super User or by efficiencyIsBliss
Published on 2012-12-07T20:36:01Z Indexed on 2012/12/08 5:12 UTC
Read the original article Hit count: 207

Filed under:
|

I want to map e to mean end of line.

I tried the following mapping in my vimrc:

map $ e

$ is the default end of line command. However, this doesn't work. I'm wondering what the problem is.

Also, I want to map Alt+right/left arrow to navigate words. So, for example, Alt+right arrow would take me to end of word. This command is currently mapped to e.

Any tips on how I would go about doing this?

Thanks!

© Super User or respective owner

Related posts about vim

Related posts about vimrc