Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-12 Thread Gary Johnson
On 2022-08-12, Christian Brabandt wrote: > On Fr, 12 Aug 2022, Tim Chase wrote: > > The other settings in defaults.vim don't usually give me much grief, but > > having a non-0 'scrolloff' means my usual > > > > {count}H > > {count}L > > > > no longer land {count} lines from the top/bottom

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-12 Thread Christian Brabandt
On Fr, 12 Aug 2022, Tim Chase wrote: > On Fri, Aug 12, 2022 at 12:29:24AM +0200, Tony Mechelynck wrote: > > I believe that Vim has a good set of defaults, including (in recent > > versions) sourcing defaults.vim when no user vimrc was found (if you > > have a vimrc, and still want the settings

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-11 Thread Tim Chase
On Fri, Aug 12, 2022 at 12:29:24AM +0200, Tony Mechelynck wrote: > I believe that Vim has a good set of defaults, including (in recent > versions) sourcing defaults.vim when no user vimrc was found (if you > have a vimrc, and still want the settings of the defaults.vim, or most > of them like I

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-11 Thread Tony Mechelynck
On Thu, Aug 11, 2022 at 3:18 PM Tim Chase wrote: > > On Thu, Aug 11, 2022 at 11:31:22AM +0200, Tony Mechelynck wrote: > >On Tue, Aug 9, 2022 at 7:54 PM Tim Chase wrote: > >> > >> I upgraded packages on my FreeBSD box yesterday and noticed that > >> vimrc behavior had changed. > [snip] > >>

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-11 Thread Tim Chase
On Thu, Aug 11, 2022 at 11:31:22AM +0200, Tony Mechelynck wrote: >On Tue, Aug 9, 2022 at 7:54 PM Tim Chase wrote: >> >> I upgraded packages on my FreeBSD box yesterday and noticed that >> vimrc behavior had changed. [snip] >> :scriptnames > > Yes, it's your distro admins giving you what they

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-11 Thread Tony Mechelynck
On Tue, Aug 9, 2022 at 7:54 PM Tim Chase wrote: > > I upgraded packages on my FreeBSD box yesterday and noticed that > vimrc behavior had changed. > > Prior to the upgrade, if I had a ~/.vimrc it wouldn't source the > defaults.vim file. > > :help VIMINIT > > > The first that exists is used, the

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-11 Thread N V
Hi Tim, Bram, In a "gradient minimalist" mode of vim, devoid of plugins, it might be interesting to have a file that contains the necessary facilities by default. In particular facilities, features allowing you to switch from this minimalist Vim mode to a more extensive mode including personal

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-10 Thread Tim Chase
On Wed, Aug 10, 2022 at 11:07:55AM +0100, Bram Moolenaar wrote: >Tim Chase wrote: >> Yep, as Yegappan found, this bug is tracking the issue at hand: >> >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251420 >> >> I've got a FreeBSD Bugzilla account and will follow up there. [snip] > An

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-10 Thread Bram Moolenaar
Tim Chase wrote: > On Tue, Aug 09, 2022 at 10:06:37PM +0100, Bram Moolenaar wrote: > > Vim does not include a system-wide vimrc file that would go in > > /usr/local/etc/vim. Does this file source defaults.vim? > > Yes, this file sources defaults.vim > > I was unsure of its provenance, but

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-09 Thread Tim Chase
On Tue, Aug 09, 2022 at 10:06:37PM +0100, Bram Moolenaar wrote: > Vim does not include a system-wide vimrc file that would go in > /usr/local/etc/vim. Does this file source defaults.vim? Yes, this file sources defaults.vim I was unsure of its provenance, but with your confirmation that it's not

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-09 Thread Yegappan Lakshmanan
Hi, The following FreeBSD bug may be relevant to this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251420 - Yegappan On Tue, Aug 9, 2022 at 2:06 PM Bram Moolenaar wrote: > > Tim Chase wrote: > > > I upgraded packages on my FreeBSD box yesterday and noticed that > > vimrc behavior had

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-09 Thread Bram Moolenaar
Tim Chase wrote: > I upgraded packages on my FreeBSD box yesterday and noticed that > vimrc behavior had changed. > > Prior to the upgrade, if I had a ~/.vimrc it wouldn't source the > defaults.vim file. > > :help VIMINIT > > > The first that exists is used, the others are ignored. > > and

New version of vim unsolicitedly sourcing defaults.vim?

2022-08-09 Thread Tim Chase
I upgraded packages on my FreeBSD box yesterday and noticed that vimrc behavior had changed. Prior to the upgrade, if I had a ~/.vimrc it wouldn't source the defaults.vim file. :help VIMINIT > The first that exists is used, the others are ignored. and it proceeds to list .vimrc (which I have)