Solution is in fact, setting the option: change mouse=a to mouse=r in your local .vimrc.
Problem onThe problem with setting this in the /usr/share/vim/vim80/defaults.vim as the accepted answer says, is that it will be overwritten on every update. I searched for a long time and ended up on this one:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864074
LOCAL SOLUTION (flawed):
The Solution in first waysolution is to use local .vmrcvimrc files and set it there.
So you could create a local .vimrc (~/.vimrc) for every user and set your options there. Or create one in /etc/skel so it will be automatically created for every new user you create.
But when you use local .vmrc.vimrc files, you have to set all options there, because if there is a local .vimrc, the defaults.vim doesn't get loaded at all! And if there is no local .vimrc all your settings are beeingbeing overwritten from defaults.vim.
GLOBAL SOLUTION (preferrable):
I did wantwanted a global configuration for all users, which loads the default options and then adds or overwrites the defaults with my personal settings. Luckily there is an option for that in Debian: The /etc/vim/vimrc.local will be loaded after the /etc/vim/vimrc. So you can create this file and let theload defaults being loaded, preventpreventing them from being loaded again (at the end) and then add your personal options:
If you also want to enable the "old copy/paste behaviour"behavior", add the following lines at the end of that file as well: