diff options
author | Julian T <julian@jtle.dk> | 2019-04-25 22:16:16 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2019-04-25 22:16:16 +0200 |
commit | 53285f84038d5aa59c87824970095e6d1b3ce131 (patch) | |
tree | 738f4b25a047af47339e4dde60b97b278eb3a1e5 | |
parent | 7121b0b09ba2069f6408f7b2769880374e480dff (diff) |
[vim] counted j and k will be added to jumplist
-rw-r--r-- | vim/.vimrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -89,6 +89,11 @@ set completeopt=menuone,preview inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>" nnoremap <C-b> :b + " When moving more lines make it a jump. If couns i 2 it will run m'2j, + " thus storing it on the jumplist and then jumping + nnoremap <expr> j (v:count > 1 ? "m'" . v:count : '' ) . 'j' + nnoremap <expr> k (v:count > 1 ? "m'" . v:count : '' ) . 'k' + " Leader stuff let mapleader=" " |