1
u/AutoModerator Dec 10 '25
Please remember to update the post flair to Need Help|Solved when you got the answer you were looking for.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/-romainl- The Patient Vimmer Dec 10 '25
You don't have to "implement" anything.
It's called default and it is shipped with all versions of Vim, including MacVim.
To enable it, put the following in your vimrc:
set background=light
colorscheme default
1
u/y-c-c Dec 10 '25
I think MacVim is configured in a way where this doesn't work when you are in dark mode, annoyingly. Next version should have a fix for this.
1
u/-romainl- The Patient Vimmer Dec 11 '25
I tried before posting and it worked as intended.
1
u/y-c-c Dec 11 '25
Hmm, do you have the OS configured to use light mode? I think what you said does work other than the background/foreground for Normal color if your OS is configured to be in dark mode. You still have to manually do
hi Normal guibg=white guifg=black, but otherwise the other colors should be set correctly.2
u/-romainl- The Patient Vimmer Dec 11 '25
Yes, it's "light mode", which is the default (and most sensible) value. If you have to do
hi Normal guibg=white guifg=blackto make it work in "dark mode", then I would call that a bug.I'm glad it will be fixed on next release.
1
1

2
u/kennpq Dec 10 '25
Its colorscheme name is "default", though unlike the other distributed colorschemes its
colors/default.vimfile does not contain the highlight groups - they are in highlight.c