What is the default vim colorscheme?

47,746

Solution 1

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.

Solution 2

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.

Solution 3

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.

Share:
47,746

Related videos on Youtube

wickedchicken
Author by

wickedchicken

Updated on September 17, 2022

Comments

  • wickedchicken
    wickedchicken over 1 year

    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.

  • wickedchicken
    wickedchicken about 13 years
    it could be elflord I suppose but it looks like ron. thanks!
  • John Einem
    John Einem about 13 years
    Actually, the default colorscheme is named "default". You can use it by calling :colorscheme default. Peachpuff and ron are different from the default.
  • Mikel
    Mikel about 13 years
    There are different defaults depending on whether your terminal is classified as having a dark or light background. default and peachpuff seem to be identical to me, but if you're on a dark terminal, doing :colorscheme default does not give you the default colorscheme, whereas :colorscheme ron looks the same as what you get automatically.
  • Mikel
    Mikel about 13 years
    Actually, /usr/share/vim/vimcurrent/syntax/syncolor.vim seems to be involved as well.
  • manofdale
    manofdale about 13 years
    Thanks Mikel. The colorscheme default was not giving intended result because some one down in my vimrc the xterm background setting was set to "dark" which was causing all cyan and yellow colors to be picked up. As soon as I commented them out it worked.