François' Blog

Disabling Mouse Support in Debian's Vim

Published on 2020-08-13

One of the more infurating things about Debian is that they enable mouse support in Vim by default. How do I :q! mouse support in Vim?

Turns out to be very easy, but of course there is no documentation on how to do this properly and searching the web results in only wrong answers. What else is new?

Put this in ${HOME}/.vimrc and you can again copy/paste text in a sane way using your mouse.

set mouse=

That's all!

History