Make Ctrl+D work with visual selection

This commit is contained in:
Talia 2018-04-13 09:20:43 +02:00
parent 3fbf78a105
commit 9b80505c05

1
vimrc
View file

@ -600,6 +600,7 @@ com! SetWD :cd %:p:h
com! SetLWD :lcd %:p:h
com! Trailing let _s=@/ | %s/\v(\\@<!\s)+$//ge | let @/=_s
nnoremap <C-d> :copy .<CR>
vnoremap <C-d> :copy '><CR>
nnoremap dx 0"_d$
nnoremap dcx 0d$
nnoremap <leader>: :let @* = @:<CR>