I am new to Vim and I am trying to remap the four (arrow) navigation keys
hjkl one step to the right on the keyboard to get
- j down
- k up
- l left
- ; right
I am following the recommendations given in this answer, and I am using a norwegian keyboard where the ; key is replaced by an ø key.
~/.vimrc I have:
nnoremap l h nnoremap ø l
I have installed the repmo plugin, and I suspect that is the cause of the problems I have with this.
So the problem is that the
l key does not map to
h (left); instead, when I press
l, the cursor moves to the right.
To debug, I tried to print out the actual mappings:
nx h & <SNR>9_repmo('h','l')<CR>
n l <SNR>9_lastkey x l <SNR>9_lastkey
 Answer to stackoverflow.com question: Vim users, where do you rest your right hand?