How to obtain a white background for vim (not gvim)?
13,713
See:
https://stackoverflow.com/questions/1117526/vim-background
The lightest background possible is a light gray.
:highlight Normal ctermfg=blue ctermbg=gray
Related videos on Youtube
Author by
Eric Wilson
Software developer, experienced in Java and Python in Linux environments, formerly a professor of mathematics. I'm a father of five children, and a husband of one wife.
Updated on September 18, 2022Comments
-
Eric Wilson over 1 year
I've downloaded a variety of colorschemes for vim, but none of the white background colorschemes that I've tried have worked in vim, only in gvim. I expect this has to do with the color limitations of the terminal.
I don't need 256 colors, but I would like a decent looking white background that gives some syntax highlighting in the regular Ubuntu 11.04 terminal window.
Suggestions?
-
Eric Wilson almost 13 yearsThat question pointed out the obvious answer to my problem: change my terminal colors.