keep selection after pasting

This commit is contained in:
Michele Guerini Rocco 2019-09-05 18:16:33 +02:00
parent f044d130c5
commit 337c5b2b42
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -123,6 +123,9 @@ inoremap jj <ESC>
noremap o o<ESC>
noremap O O<ESC>
" keep selection after p
xnoremap <silent> p p:let @+=@0<CR>
" save with sudo
cmap w!! w !sudo tee > /dev/null %