Skip to main content
Topic: when you are sick of vim being broken (Read 1508 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

when you are sick of vim being broken

use

mouse-=a in /etc/share/vim/vim80/default.vim

and tell ARCH to leave it the hell alone

and complain to [email protected]


Re: when you are sick of vim being broken

Reply #1
Define "broken".

Re: when you are sick of vim being broken

Reply #2
When you can't paste using midle click exactly where the text cursor is carfully placed. I use this a lot to copy between different installations. Have just installed Artix 3 times using only vi, but that is better than a "broken" vim.

I commented out lines 78-80 in the file where mouse was set to a and it worked as well.
Besides; the correct path to the file is: /usr/share/vim/vim80/defaults.vim

Is there a way to store this that is not overwritten when vim is reinstalled?

Thanks a milion @mrbrklyn ! You have saved both my day and a search for how to deal with this ;)
I take full responsibility of my Linux systems - I just need some help from time to time.


Re: when you are sick of vim being broken

Reply #4
The simplest solution is to use Shift when selecting and 'middle-click pasting'. There is the small issue that it will also select line numbers if you have them enabled.