nvim: after/plugin: Add j and k motion to the jump list

This commit is contained in:
Sanchayan Maity 2021-05-18 19:40:03 +05:30
parent f05e5bcd5d
commit 9b639279d9

View 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'