On Thu, Dec 06, 2018 at 07:14:08PM -0800, Ben Fritz wrote:
> On Wednesday, December 5, 2018 at 9:44:30 AM UTC-6, jonshouse1 wrote:
> > Unfortunately people are still unhappy, partly because it seems there are 
> > many people who do not use a user specific vimrc file and simply used the 
> > system wide vimrc config file (I had a similar discussion with several 
> > Debian users) which will get overwritten by defaults.vim as you found out.
> > 
> > 
> > I read this as "I've had similar discussions with people who expect vim 
> > configuration to act in a sane way" ....
> > 
> > At very least  /etc/vim/vimrc should be parsed 2nd from last, $HOME/vimrc 
> > last of all  ?  The USER should always win over the "default" yes ?
> > 
> > 
> 
> /etc/vim/vimrc is not for USER settings. Those are
> default settings that your distribution's packagers decided were best
> on their distro.

It is the system-wide vimrc.  There just happens to be overlap in the
mechanism that both sysadmins and distro packagers have available to
provide some common configuration to all of their users.

> The USER does win.

No, they don't.  I've outlined various ways this isn't the case before:

https://github.com/vim/vim/issues/2042#issuecomment-328678279

More importantly, the act of creating a vimrc actually regresses the
user experience now, rather than improving it like it used to:

https://github.com/vim/vim/issues/2042#issuecomment-366844169

Setting aside the actual details of what options/settings are provided
by defaults.vim, the mechanism used to provide newer defaults to users
is faulty.

The fairly standard precedence for configuration at large is:

user config overrides system config overrides baked-in defaults

The mechanism of using defaults.vim changes that to be

(defaults.vim or user config) overrides system config overrides baked-in 
defaults

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui