diff options
-rw-r--r-- | plugin/vim-options.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 19cc08b..c0d3c5f 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -133,6 +133,9 @@ function! Rm() :call delete(expand('%')) | bdelete! endfunction nnoremap <leader>erm :call Rm()<CR> +" Add numbered jumps to the jump list +nnoremap <expr> k (v:count > 1 ? "m'" . v:count : '') . 'k' +nnoremap <expr> j (v:count > 1 ? "m'" . v:count : '') . 'j' |