/etc/vim/gvimrc unexpectedly clobbers users own preferences (in their ~/.vimrc, ~/.gvimrc files) for the gvim editor. It would be nice to remove at least the line: set columns=130 lines=50 " don't inherit geometry from parent term if not the entire file. Reproducible: Always Steps to Reproduce: 1. Attempt configuring gvimrc by using config files in your home directory 2. Certain settings will be clobbered by files in /etc/vim 3. There's no way out unless you have root, right?
I don't know where you get "set columns=130 lines=50" since the Gentoo gvimrc has "set columns=80 lines=30". There are only four settings in the Gentoo gvimrc, all of which set sensible defaults and can easily be overridden by users in their personal .gvimrc. I just tested in my own .gvimrc to make sure. The files are read in this order: /etc/vim/vimrc $HOME/.vimrc /etc/vim/gvimrc (when called as gvim) $HOME/.gvimrc (when called as gvim)
I was confused also about my /etc/vim/gvimrc over-riden my .vimrc. I had put the guifont in .vimrc. Now I need another file in my home-dir .gvimrc. I think the text of /etc/vim/gvimrc should be changed to reflect this. This is a little confusing... " This file is read AFTER normal Vim initializations, like reading your .vimrc " file (and the default /usr/share/vim/vimrc). So there's no reason to " duplicate settings from vimrc. Red Hat has had this wrong for years, to the " great annoyance of users.