nvim: after/plugin: Add j and k motion to the jump list
This commit is contained in:
parent
f05e5bcd5d
commit
9b639279d9
1 changed files with 2 additions and 0 deletions
2
nvim/.config/nvim/after/plugin/jk-jumps.vim
Normal file
2
nvim/.config/nvim/after/plugin/jk-jumps.vim
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
nnoremap <expr> j (v:count > 1 ? "m'" . v:count : '') . 'gj'
|
||||||
|
nnoremap <expr> k (v:count > 1 ? "m'" . v:count : '') . 'gk'
|
Loading…
Reference in a new issue