Can this be reverted to not set mouse=a? This seems a bit drastic of change for a default setting. For users without a .vimrc (root, new users, non-vim users) I think this causes more problems than it solves for purely ssh environments. I mainly use the native OS' (sshing-from) clipboard/select. With this set you're forced to have a ~/.vimrc mainly root.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.![]()
—
—
You are receiving this because you are subscribed to this thread.
Without enabling the mouse you can't position the cursor or use the scrollwheel in Vim. Since for the selection you can make it work with the shift key, I still think that setting the 'mouse' option by default is the best choice.
Except that there are a lot of people who don't know that holding shift makes the terminal handle the mouse instead of Vim. This was the biggest complaint I got when Debian got the updated packages, specifically because what they had been doing for many years stopped working and they didn't know how to fix it or work around it.
Also, when using the mouse in a console via gpm, holding shift doesn't override the behavior so those users have no work around. The update just broke behavior they were used it.
Is that only a problem for people using su (e.g. using Vim as root)? Then perhaps a check for being root could help here?
—
You are receiving this because you are subscribed to this thread.
It could be an issue for anyone that didn't have a .vimrc file.
Correct, and there are far more of those than I would have expected.
I think root would be the most popular of that class of users.
Right, so the environment that's most uncommonly used and typically for quick tasks now behaves quite differently than experience has taught for the past couple decades.
—
You are receiving this because you are subscribed to this thread.