nvim: keymappings: Do not map j/k to gj/gk

This does not work for line jump when you have relative numbers on and
lines wrap around.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-05-15 10:54:19 +05:30
parent d211c2fe66
commit 1721c8d62b

View file

@ -168,9 +168,6 @@ noremap 0 ^
" Just in case you need to go to the very beginning of a line
noremap ^ 0
" Make j and k move to the next row, not file line
nnoremap j gj
nnoremap k gk
" Make dot work on visually selected lines
vnoremap . :norm.<CR>
" Go to the last file we changed