On 9 December 2016 at 04:21, Christopher <ctubb...@fedoraproject.org> wrote:
> On Thu, Dec 8, 2016 at 8:24 AM Dario Lesca <d.le...@solinos.it> wrote:
>>
>> Il giorno gio, 08/12/2016 alle 14.53 +0200, Ahmad Samir ha scritto:
>> > To revert that change I created a ~/.vimrc (even an empty one works)
>> > and for good measure added this line to it:
>> > set mouse=
>> >
>>
>> Thank, this command:
>>
>>     $ echo 'set mouse=' >> ~/.vimrc
>>
>> disable this new "feature" and restore the previous behavior.
>>
>> Another (annoying) thing to do on all new system witch I install and
>> use.
>>
>> Probably it would be better that this feature was disabled by default
>> in a next update.
>>
>> What is your opinion?
>>
>
>
> This is very surprising behavior that I saw today. I spent quite a bit of
> time going through my .vimrc file to try to find which setting "fixed" the
> problem. Apparently, an empty file would have done the trick... such a waste
> of time. :)
>
> A more intuitive behavior would be for the user's settings to be merged with
> the defaults. Creating an .vimrc to change a whitespace option, and seeing
> that has an effect on mouse behavior is very strange.
>

For merging the settings, have a look at
https://github.com/vim/vim/blob/5162822914372fc916a93f85848c0c82209e7cec/runtime/doc/starting.txt#L1018

(There's a local copy of that file at /usr/share/vim/vim80/doc/starting.txt).

-- 
Ahmad Samir
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to