Dear James, On Sat, Oct 01, 2016 at 01:53:43PM -0400, James McCoy wrote: > > As described in defaults.vim, you can "let skip_defaults_vim = 1" to > prevent it from applying any of its settings, so just put that in > /etc/vim/vimrc.local and your settings will be preserved.
this implies that I do not want any of the default settings - but my intention is just to override some of them, is this not possible? > > Can you show the output of ":scriptnames" to prove that? Here is the requested output: 1: /usr/share/vim/vimrc 2: /usr/share/vim/vim80/debian.vim 3: /etc/vim/vimrc.local 4: /usr/share/vim/vim80/defaults.vim 5: /usr/share/vim/vim80/syntax/syntax.vim 6: /usr/share/vim/vim80/syntax/synload.vim 7: /usr/share/vim/vim80/syntax/syncolor.vim 8: /usr/share/vim/vim80/filetype.vim 9: /usr/share/vim/vim80/ftplugin.vim 10: /usr/share/vim/vim80/indent.vim 11: /usr/share/vim/vim80/plugin/getscriptPlugin.vim 12: /usr/share/vim/vim80/plugin/gzip.vim 13: /usr/share/vim/vim80/plugin/logiPat.vim 14: /usr/share/vim/vim80/plugin/manpager.vim 15: /usr/share/vim/vim80/plugin/matchparen.vim 16: /usr/share/vim/vim80/plugin/netrwPlugin.vim 17: /usr/share/vim/vim80/plugin/rrhelper.vim 18: /usr/share/vim/vim80/plugin/spellfile.vim 19: /usr/share/vim/vim80/plugin/tarPlugin.vim 20: /usr/share/vim/vim80/plugin/tohtml.vim 21: /usr/share/vim/vim80/plugin/vimballPlugin.vim 22: /usr/share/vim/vim80/plugin/zipPlugin.vim 23: /usr/share/vim/vim80/scripts.vim Seems the issue is the order of inclusion not a multiple inclusions. > It is possible to prevent it from setting anything, and then put > whatever config you want in /etc/vim/vimrc.local. The bug, if anything, > is that I didn't add a NEWS entry describing defaults.vim and how to > disable it. Hmmm ok so the only possibility to have "some" of the default settings is to copy /usr/share/vim/vim80/defaults.vim to /etc/vim/vimrc.local and add a "let skip_defaults_vim = 1" line to it? Seems like it would be easier to divert /usr/share/vim/vim80/defaults.vim to /etc/vim/vimrc.local in order to detect changes to the default config... > > Merging with the other bugs about the same issue. Ok > > Cheers, > -- > James > GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB Thanks for your help and kind regards Harald