[Solved] Re: vim on Debian 12: How to disable the mouse GUI mode ?
Hi,
Greg Wooledge wrote:
> I found a fix:
> https://vi.stackexchange.com/questions/18001/why-cant-i-paste-commands-into-vi
> Apparently when in an "xterm environment" (whatever that means; apparently
> it includes rxvt-unicode), turning on bracketed paste mode works:
>
> :set t_BE=
>
> The = is required.
Oh yes. This helps. \o/
I have put it into my ~/.vimrc now.
After this nudge i dimly remember to have seen this "set t_BE=" before.
Grrr. In 2021 i wrote in
https://lists.debian.org/debian-user/2021/12/msg00680.html
Balasubramanian Ravuthan wrote:
> > 5. What will be the impact for upgrading Debian 10 with Kernel 4.19 to
> > Debian 11 with Kernel 5.10.
I wrote:
> At least "bracketed-paste" and maybe other unsolicited changes.
> (Yesterday i had to learn how to repair vim on a SuSE system: set t_BE=
> I'm looking forward to my first upgrade to Debian 11 ...)
So the "set mouse=" was just a red herring in my old ~/.vimrc.
Well, it is mentioned in the enlightening stackexchange post, too.
I meanwile even booted debian-live-11.1.0-amd64-xfce.iso just to learn
that the dreaded behavior indeed is present after:
apt-get update
apt-get install vim
-----------------------------------------------------------------------
Now i wonder where i might have put "set t_BE=" on the Debian 11 system:
I have mounted the system disk image which i made before the upgrade
for the case of a fatal outcome.
But i cannot find a place where i have set t_BE= (or even mouse=).
At best i commented out mouse=a in the old /etc/vim/vimrc.
I tried
fgrep t_BE= /mnt/ext4/home/*/.vimrc
fgrep -r t_BE= /mnt/ext4/etc/vim
fgrep -r t_BE= /mnt/ext4/usr/share/vim/ | less
Any ideas where else i could have done the magic 2 years ago ?
Have a nice day :)
Thomas
Reply to: