In Debian Stetch 9 there is a new behaviour in vim, the copy and paste with the mouse is unusual and don’t work as the previous versions did.
For fix that, in the file /usr/share/vim/vim80/defaults.vim comment the lines:
" if has('mouse')
" set mouse=a
" endif
Debian Stretch 9 issue with vim: copy and paste