I have been experiencing an issue with copy paste on vim  Debian 9 Stretch, when you try to paste a copied text onto vim editor, it gives you and error which hinders you from pasting the text you copied onto vim. I tried to figure out whats the issue and later i came into a solution which i would like to share too. If there is anyone experiencing the same can use the below settings to enable the feature again

I created a new file which was not available in the vim conf directory    /etc/vim/vimrc.local  and entered the below content

runtime! defaults.vim
let g:skip_defaults_vim = 1
set mouse=


Have a try if it might be of any help to you too, if it helps drop us a comment below for others to make use of it

If you face any challenge also you can drop us a comment and we will respond quicker and faster