2 ms·
> Vim is one major exception to the automatic update problem. Except for one thing that pissed me off a great deal. I am not a true vim user, though I use it f
by GuB-42 2mo ago
> Vim is one major exception to the automatic update problem.
Except for one thing that pissed me off a great deal. I am not a true vim user, though I use it from time to time, because it is everywhere and it works through ssh. At some point they introduced "visual mode", and it turns on when you start using the mouse, it broke the way I used the mouse copy-paste in vim. I know I can do "set mouse-=a", but when I am just using vim as "the standard text editor" (sorry ed), I don't want to configure anything as it is usually a one shot job.
I never asked for that, at some time, it just happened. I guess as a major upgrade, but the thing is, something changed that I didn't want to change.
I understand the reason for this change, also https://xkcd.com/1172/ https://xkcd.com/1172/ but I just wanted to say that even vim is not immune.
Some tools are immune though. Usually command line tools used in scripts. For example "apt-get" doesn't change, but "apt" does. "apt-get" is what you use when you want a stable interface (especially scripts), "apt" is for when you want something nicer.
- fragmede 2mo agoOn your laptop, in ~/.ssh/config: Host * PermitLocalCommand yes LocalCommand rsync -azL --checksum -e "ssh -p %p -o PermitLocalCommand=no" "$HOME/.vimrc" "%r@%h:.vimrc" This copies your ~/.vimrc if unmodified to every server you ssh to. (For bonus points, you can make a program to copy ~/.ssh/config around as well so that your config gets copied to servers you ssh to from there.)
- Izkata 2mo agoI think visual mode has existed as long as vim existed, and vi was what didn't have it. When I first started at my company, we did all work on shared VMs, and the system vimrc had that "mouse" setting enabled. Something an employee had done decades ago to be helpful, really confused me until I realized what was going on. I'm thinking your distro, not vim, is what flipped the setting.