Debian Stretch 9 issue with vim: copy and paste

20 06 2017

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 it:

Edit the file (or create it): /etc/vim/vimrc.local with the following content:
runtime! defaults.vim
let g:skip_defaults_vim = 1
set mouse=

More info: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837761#76

Old solution:

In the file /usr/share/vim/vim80/defaults.vim comment the lines:

" if has('mouse')
" set mouse=a
" endif

Advertisements

Actions

Information

3 responses

1 08 2017
Bernd Schatz

for me it works only with
mouse=r

9 11 2017
Christian Bricart
9 11 2017
rfrail3

Thanks Christian! I update the information.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: