Map keys in Vim
- by efficiencyIsBliss
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!