[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vim on Debian 12: How to disable the mouse GUI mode ?



Hi,

Greg Wooledge wrote:
> I'm not sure how you've got it configured, but just having a ~/.vimrc
> file should be enough to disable the default system vimrc which has all
> that broken mouse crap.

The problem is that the old way of crap-disabling does not work here.

I can perform in the vim session
  :set mouse=
and verify that the setting is in effect, as far as "set" is concerned:
  :set mouse?
shows in the base line:
  mouse=
But the behavior is still not mouse agnostic (where mouse paste = keyboard
strokes).

For verification of my old vim knowledge i ask for full GUI:
  :set mouse=a
Then ":set mouse?" yields
  mouse=a

"mouse=a" is handcopied, because one cannot copy and paste that text.
I fully agree that vim GUI mousing is annoying, obtrusive, capricious,
counterintuitive, ... wheeze ... cough ...

I can write "set mouse=..." lines into my ~/.vimrc and their effect shows
up with ":set mouse?" in the vim session. But the effect on mouse pasting
just switches between two undesirable modes.


Justin Piszcz wrote:
> Not sure if related to the issue OP is having is the same but I had to
> add this to my ~/.vimrc:
>   set mouse=v

Does not help here. :(


> https://unix.stackexchange.com/questions/139578/copy-paste-for-vim-is-not-working-when-mouse-set-mouse-a-is-on

Seems to be about a problem with copying out of vim, not with pasting in.
I tried the proposals, nevertheless, and they did not help.


Have a nice day :)

Thomas


Reply to: