Sunday, March 27, 2011

Re: display RGB color in vim and vim color in urxvt

chris M. sprite, Sun, Mar 27, 2011 at 03:57:43PM +0800:
> [2]: why the vim color scheme can not display correctly in urxvt.
> every color is not the original color in vim theme . so how to set it
> ?

If you're using a 256-color terminal, you have to use a color scheme
made for 256-color terminals. GUI color schemes won't usually work
properly in a terminal. Are you sure you're using a terminal color
scheme?


> [3]: how to let vim display 256 color in urxvt ? Do i need set urxvt
> and vim both to support 256 color ?

Recent versions of urxvt support 256 colors by default. Older ones
required a patch for that functionality. I can't remember the exact
version number when it changed though.

In Vim, just use `:set t_Co=256` to enable 256-color support.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment