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:
parent
d211c2fe66
commit
1721c8d62b
1 changed files with 0 additions and 3 deletions
|
@ -168,9 +168,6 @@ noremap 0 ^
|
||||||
" Just in case you need to go to the very beginning of a line
|
" Just in case you need to go to the very beginning of a line
|
||||||
noremap ^ 0
|
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
|
" Make dot work on visually selected lines
|
||||||
vnoremap . :norm.<CR>
|
vnoremap . :norm.<CR>
|
||||||
" Go to the last file we changed
|
" Go to the last file we changed
|
||||||
|
|
Loading…
Reference in a new issue