3
1
So when I press :set
I see a bunch of settings that are not on my ~/.vimrc
file. (My guess is they're settings I've set years ago and don't remember).
So I do :version
and get a path $VIM/vimrc
, which is said to be "fall-back"ed by usr/share/vimrc
. This is the "system vimrc".
I open the latter path, and the mystery settings are not in this vimrc file.
The only other path is the "user excrc file" at $HOME/.exrc
, which I've no idea how to get to or what it is.
Anyone have any idea where the settings that show up when I command :set
come from?
I'm on OS X (10.6).
What settings do you see there? Maybe just overall defaults? (Note, not a vim expert here) – slhck – 2012-04-26T21:20:13.633
small stuff like
background=dark
, which looks like something I would've chosen. Language set to English... only it's not in the main vimrc fail, and according to UNIX for MAC OS X (tutorial I'm reading), the:set
command should display all non-default settings currently on. -- I'd like to have them all in one handy .vimrc file. – iDontKnowBetter – 2012-04-26T21:24:22.213