I really like the default vim colorscheme in 10.10 but I can't figure out what it's called -- I want to turn it on for my Debian box as well.
- 73,907
- 508
3 Answers
If you are on a light terminal, the default is peachpuff.
If you are on a dark terminal, the default is ron.
You can tell which you have by typing :set background?.
(Vim guesses whether your terminal has a dark or light background based on the value of the TERM environment variable.)
I found this answer by going ":color Tab" and choosing each option, then comparing it to the default.
- 6,655
It's /usr/share/vim/vim72/colors/default.vim. On the Debian side, mkdir -p ~/.vim/colors and then copy default.vim to that new directory. Open your ~/.vimrc and add the line colorscheme default to use it all the time, or colorscheme ubuntu if you renamed the default.vim to ubuntu.vim.
I am not at my ubuntu box, at the moment... but by default the vim colorschemes are stored to the "/usr/share/vim/vim72/colors/" directory. The default scheme should be named unimaginatively "default.vim"
In vim you can use ":help colorscheme" to see how to best enable to color scheme in your debian box. I would recommend that, you would install the colorscheme in your .vim profile directory.
:colorscheme default. Peachpuff and ron are different from the default. – graywh Mar 02 '11 at 20:28defaultandpeachpuffseem to be identical to me, but if you're on a dark terminal, doing:colorscheme defaultdoes not give you the default colorscheme, whereas:colorscheme ronlooks the same as what you get automatically. – Mikel Mar 02 '11 at 20:52/usr/share/vim/vimcurrent/syntax/syncolor.vimseems to be involved as well. – Mikel Mar 02 '11 at 20:59peachpuff. If you are on a dark terminal, the default is a variation on legacydesert. They are both documented in syncolor.vim. – NodeUnderflow Oct 14 '24 at 03:24