Move vim settings out of plugins to ensure they all get correctly loaded after everything else [Fix #373]
This commit is contained in:
9
vim/settings/stop-visual-paste-insanity.vim
Normal file
9
vim/settings/stop-visual-paste-insanity.vim
Normal file
@@ -0,0 +1,9 @@
|
||||
" 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
|
||||
|
||||
Reference in New Issue
Block a user