I couldn't find any gvimrc files so I guess it uses the regular one. And since I work pretty much in X too I thought it would be nice with a function that sets background=light if I'm in X an background=dark if not. Is that possible?
If you must have must. Have must.
- DKE supporters about this wonderful swedish soda.
vimrc configuration is not the same as bash.
You probably want something like this in your ~/.vimrc:
if has('gui_running') set background=light else set background = dark endif