On Mon, Aug 25, 2025 at 10:07:24AM +0700, Max Nikulin wrote: > On 24/08/2025 02:11, tomas wrote: > > - Vi has lately changed its defaults for copy-paste (in an > > X terminal, at least). I always have to "set mouse=" to get > > my old behaviour back (and secretly curse at whoever had > > this brilliant idea). > > I have "set mouse=" in my vimrc as well, but writing about the "hold Shift > to select" trick in another message, I have realized that you may have > another reason to dislike default behavior. Thanks, Max, also for that oter thing with "shift". I am pretty old school here -- started with the (real) vi, and never got used to the idea that vi(m) "knows" about the mouse -- it is just the X terminal which talks to it. This gives a consistent behaviour with the other programs (shell, ncurses programs) running in a terminal, and I appreciate it. > Are your complains related to selected text missed in PRIMARY selection > (used by other applications) or you prefer to keep cursor in its position? > In the former case, is vim package, you installed, compiled with enabled > clipboard and "+,"* registers? It's primarily (heh) the PRIMARY selection, but the cursor jumping around doesn't help either :-) About the clipboard... I didn't even know there is one, but the help does mention it, so the answer is a tentative "yes". [...] > Inconvenience of selection handled by terminal (with disabled mouse or > holding Shift) is trouble with multiline text in vertically split window. > For pasting text it is safer to avoid middle click and to use "*p or <C-R>* > depending on current mode instead. I understand that, buthave adapted long ago. One application sticking out and doing its thing is far more annoying to me. Thanks for all those insights :-) Cheers -- tomás
Attachment:
signature.asc
Description: PGP signature