Comment by mmh0000
7 hours ago
With a little bit of vimrc magic you can make it transparent:
"Make k/j up/down work more naturally by going to the next displayed line vs
"going to the next logical line (for when word-wrapping is on):
noremap k gk
noremap j gj
noremap <up> gk
noremap <down> gj
"Same as above, but for arrow keys in insert mode:
inoremap <up> <Esc>gka
inoremap <down> <Esc>gja
No comments yet
Contribute on Hacker News ↗