Skip to content

Commit

Permalink
Don't copy the contents of an overwritten selection.
Browse files Browse the repository at this point in the history
  • Loading branch information
eventualbuddha committed Jun 2, 2014
1 parent 5461fe7 commit 87181b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ else
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
endif

" Don't copy the contents of an overwritten selection.
vnoremap p "_dP
" Go crazy!
if filereadable(expand("~/.vimrc.local"))
" In your .vimrc.local, you might like:
Expand Down

0 comments on commit 87181b4

Please sign in to comment.