Akh
Akh

Reputation: 6043

How to use VIM color scheme on terminal?

I downloaded and started using the following VIM color scheme Seoul256. I am wondering if I can apply the same color scheme to my terminal as well? If yes how to use the .vim file for the terminal?

Upvotes: 1

Views: 3926

Answers (3)

Micah Elliott
Micah Elliott

Reputation: 10264

This isn’t necessarily vim related, and you won’t be able to use a vim scheme directly (unless you do some business like Conque). Sounds like you just want to take an existing 256-color scheme and make your terminal use it. There are some built-in schemes in various terminals, like konsole and gnome-terminal. For extending those options, see this for gnome and this for konsole.

Going to 256 colors is worthwhile, IMO. It's useful for tools like less, git/tig, ls/tree (dircolors tools), htop, and many more.

I personally prefer URxvt as a terminal for its support for unicode, bitmap fonts, and colors, as well as speed. You can pretty easily create your own color scheme, and you could mimic “Seoul256” if you like. Here are several Xcolors examples. I find “Nancy” to be an extensive one to build from. These will usually be going into your ~/.Xresources file.

Upvotes: 3

Uruk-hai
Uruk-hai

Reputation: 659

If you would like to enable color scheme on an already existing file, you could try the below syntax in "non-insert" mode.

:syntax on

If you have a .vimrc file in your home directory, you could make the necessary changes there are well.

http://vim.wikia.com/wiki/Change_the_color_scheme

Upvotes: 0

Oldest Software Guy
Oldest Software Guy

Reputation: 741

http://vim.wikia.com/wiki/Using_GUI_color_settings_in_a_terminal

Mr Google found this; I haven't tested it so best wishes.

Upvotes: -2

Related Questions