dotar/vim/settings/stop-visual-paste-insanity.vim
Yan Pritzker 9dea8f46c8 Fix docs
2014-01-28 09:20:55 -06:00

9 lines
310 B
VimL

" If you visually select something and hit paste
" that thing gets yanked into your buffer. This
" generally is annoying when you're copying one item
" and repeatedly pasting it. This changes the paste
" command in visual mode so that it doesn't overwrite
" whatever is in your paste buffer.
"
vnoremap p "_dP