mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 11:31:30 +01:00
vim: add <leader>vv to re-select text after pasting
This commit is contained in:
parent
0b68731e97
commit
c37017f80e
|
@ -20,6 +20,9 @@ map <leader>x :e ~/buffer.md<CR>
|
||||||
" Toggle paste mode on and off
|
" Toggle paste mode on and off
|
||||||
nmap <leader>pp :setlocal paste!<CR>
|
nmap <leader>pp :setlocal paste!<CR>
|
||||||
|
|
||||||
|
" Re-select the text block just pasted
|
||||||
|
nnoremap <Leader>vv V`]
|
||||||
|
|
||||||
" open quickfix
|
" open quickfix
|
||||||
nmap <leader>cc :botright cope<CR>
|
nmap <leader>cc :botright cope<CR>
|
||||||
" close quickfix (also see <leader>C below)
|
" close quickfix (also see <leader>C below)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user