On Fri, Sep 9, 2016 at 9:55 AM, Christian Brabandt <[email protected]> wrote: > Bram, > here is a small update to the documentation that mentions how to skip > loading the defaults.vim file > > diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt > index 14a5f01..2142343 100644 > --- a/runtime/doc/starting.txt > +++ b/runtime/doc/starting.txt > @@ -1030,6 +1030,14 @@ If you don't like some of the defaults, you can still > source defaults.vim and > revert individual settings. See the defaults.vim file for hints on how to > revert each item. > > + *skip_defaults_vim* > +If you want to skip loading the defaults.vim file, you can set the variable > +skip_defaults_vim in your |.vimrc| like this > > + :let g:skip_defaults_vim = 1 > +< > +Note: This must be done in a script that is actually loaded before the > defaults.vim > +file is read |initialization| > + > > Avoiding trojan horses ~ > *trojan-horse* > > > Best, > Christian
You seem not to be using the latest help (which surprizes me, coming from you). In the doc/starting.txt dated "Last change: 2016 Sep 03", at the exact position of your addition there is a paragraph, maybe not as detailed, but possibly more precise: ---- If you use a system-wide vimrc and don't want defaults.vim to change settings, set the "skip_defaults_vim" variable. ---- (i.e. what counts is not its value but its mere existence). Best regards, Tony. -- -- 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.
