[Lvlug] Changing color scheme in vim

Ricardo SIGNES rjbs-lvlug at lists.manxome.org
Wed Apr 14 10:35:25 EDT 2004


* dann at thelinuxlink.net [2004-04-14T10:10:49]
> Is there an easy way to set the default color scheme in vim?  Or is this
> only possible with gvim?  That is, will vim always take on the color
> scheme of the terminal it was called from?

Absolutely.  You can change the color scheme in Vim with the
:colorscheme command.  Of course, you need to be in a color terminal.
Make sure your terminal type is color.  A common mistake is to think
that xterm is color.  It isn't, make sure you've got xterm-color if
you're in a color-capable xterm

A good colorscheme works in both GUI and console.  My favorite Vim
colorscheme is manxome, for obvious reasons.

  http://www.vim.org/scripts/script.php?script_id=260

If you always want to use this scheme, put "colorscheme manxome" in your
.vimrc

-- 
rjbs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.thelinuxlink.net/pipermail/lvlug/attachments/20040414/07c91312/attachment.bin


More information about the Lvlug mailing list