Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: mrbrklyn on 10 October 2017, 05:36:34

Title: when you are sick of vim being broken
Post by: mrbrklyn on 10 October 2017, 05:36:34
use

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

and tell ARCH to leave it the hell alone

and complain to [email protected]

Title: Re: when you are sick of vim being broken
Post by: physkets on 10 October 2017, 09:01:05
Define "broken".
Title: Re: when you are sick of vim being broken
Post by: Erik R on 10 October 2017, 19:19:08
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 ;)
Title: Re: when you are sick of vim being broken
Post by: mrbrklyn on 11 October 2017, 04:07:50

when it happens to you, you will know.  It goes into visual mode when trying to copy.  It is a sys admin nightmare.
Title: Re: when you are sick of vim being broken
Post by: physkets on 12 October 2017, 17:12:59
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.