dblume commited on 2022-04-10 23:08:10
Showing 1 changed files, with 7 additions and 0 deletions.
... | ... |
@@ -31,6 +31,13 @@ nnoremap k gk |
31 | 31 |
" Map jk to ESC in insert mode |
32 | 32 |
inoremap jk <esc> |
33 | 33 |
|
34 |
+" https://stevelosh.com/blog/2010/09/coming-home-to-vim/#s3-why-i-came-back-to-vim |
|
35 |
+nnoremap <leader>v <C-w>v<C-w>l |
|
36 |
+nnoremap <C-h> <C-w>h |
|
37 |
+nnoremap <C-j> <C-w>j |
|
38 |
+nnoremap <C-k> <C-w>k |
|
39 |
+nnoremap <C-l> <C-w>l |
|
40 |
+ |
|
34 | 41 |
" clear search highlights |
35 | 42 |
nnoremap <cr> :noh<cr><cr> |
36 | 43 |
|
37 | 44 |