1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 15:21:30 +01:00

vim: add <leader>vv to re-select text after pasting

This commit is contained in:
bretello 2020-12-06 22:21:13 +01:00
parent 0b68731e97
commit c37017f80e
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -20,6 +20,9 @@ map <leader>x :e ~/buffer.md<CR>
" Toggle paste mode on and off
nmap <leader>pp :setlocal paste!<CR>
" Re-select the text block just pasted
nnoremap <Leader>vv V`]
" open quickfix
nmap <leader>cc :botright cope<CR>
" close quickfix (also see <leader>C below)