Hide Forgot
Description of problem: Current vim installations uses solid /etc/vimrc for initialization. It makes more difficult to maintain per-host (or per - organization) configuration initialization changes. Proposition: Add to the end of /etc/vimrc such lines: " system local configs for rcfile in split( globpath("/etc/vimrc.d", "*.vim"), '\n' ) execute( 'source '.rcfile ) endfor " user local configs for rcfile in split( globpath("~/.vim/vimrc.d", "*.vim"), '\n' ) execute( 'source '.rcfile ) endfor And add descrption of /etc/vimrc.d/ to spec file: mkdir -p %{buildroot}/%{_sysconfdir}/vimrc.d ... %dir %{_sysconfdir}/vimrc.d Benefits: both system administrators and users can easy adjust vim behaviour. Cost: minimal - number of loaded plugin files is mush more then number of configs
I think that this is such a special case that it shouldn't be implemented for the whole distribution, it just complicates things. Feel free to change your /etc/vimrc as you wish, an update shouldn't overwrite your changes as those files are marked as %config(noreplace).