VIM disable mouse
I want to be able to paste text into VIM inside an SSH session, but on Ubuntu 26.04 LTS it goes into visual mode and I can't complete the paste.
So to disable this behavior (and completely disable mouse in vim) do:
# create ~/.vimrc and add the following to it.
set mouse-=a
VIM quick save and exit
# and another thing I've been doing in vim for years to exit
:wq!
# I could have just been doing
:x
# let's have a moment of silence to mourn the wasted key strokes

0 Comments