Make Ctrl+D work with visual selection
This commit is contained in:
parent
3fbf78a105
commit
9b80505c05
1 changed files with 1 additions and 0 deletions
1
vimrc
1
vimrc
|
@ -600,6 +600,7 @@ com! SetWD :cd %:p:h
|
||||||
com! SetLWD :lcd %:p:h
|
com! SetLWD :lcd %:p:h
|
||||||
com! Trailing let _s=@/ | %s/\v(\\@<!\s)+$//ge | let @/=_s
|
com! Trailing let _s=@/ | %s/\v(\\@<!\s)+$//ge | let @/=_s
|
||||||
nnoremap <C-d> :copy .<CR>
|
nnoremap <C-d> :copy .<CR>
|
||||||
|
vnoremap <C-d> :copy '><CR>
|
||||||
nnoremap dx 0"_d$
|
nnoremap dx 0"_d$
|
||||||
nnoremap dcx 0d$
|
nnoremap dcx 0d$
|
||||||
nnoremap <leader>: :let @* = @:<CR>
|
nnoremap <leader>: :let @* = @:<CR>
|
||||||
|
|
Loading…
Reference in a new issue