What is the default vim colorscheme?

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.

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.

5

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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like