Reputation: 43547
I have <Up>
and <Down>
nnoremapped to gk
and gj
but this won't let me use them while in edit mode. I tried using inoremap but that just types out gk
or gj
.
So I could certainly do something like inoremap <Up> <ESC>gki
. Is this the best and only reasonable way to do it? I don't like this method because it isn't apparent to somebody reading the settings file what it does. Not that I could say that about any bit of vim setting file I have ever seen.
Upvotes: 9
Views: 488