move vimrc in insert

This commit is contained in:
Christoph J. Scherr 2025-01-18 01:28:34 +01:00
parent a477e89b80
commit 4fe2ba1fa8
1 changed files with 9 additions and 0 deletions

9
.vimrc
View File

@ -129,3 +129,12 @@ nnoremap zN [s
" same as above but only with bad words (unrecognized)
nnoremap Zn ]S
nnoremap ZN [S
" how to move in insert
vnoremap <leader>y "+y
nnoremap <leader>Y "+Y
nnoremap <leader>y "+y
nnoremap <leader>yy "+yy
" back to normal mode with jk in insert
imap jk <esc>