Ubuntu,vim和日光色调调色板 [英] Ubuntu, vim, and the solarized color palette
问题描述
我真的想进入日晒颜色方案的所有色彩缤纷,但我可以' t似乎得到它的配置正确。
我有.vim / colors文件夹中的主要日历文件,我已将终端配置文件颜色设置为网站上列出的内容,添加行
set background = dark
let g:solarized_termcolors = 16
colorscheme solarized
到我的.vimrc,但vim看起来是灰色的,并且使用亮绿色作为默认值。任何想法?
这是我建议尝试的事情:
- 确保上的
语法在您的.vimrc
中。 - 检查t_Co vim从您的字词模拟器(快速
:echo& t_Co
)。如果是8,你会想要se t_Co = 16
。你也可以尝试se t_Co = 256
虽然没有let g:solarized_termcolors = 16
这将使用256备用模式, - ensure
syntax on
is in your .vimrc - Check what t_Co vim has picked up from your term emulator (a quick
:echo &t_Co
). If it's 8 you'll want tose t_Co=16
. You might also tryse t_Co=256
though withoutlet g:solarized_termcolors=16
this will use the 256 fallback mode, which isn't quite the correct color scheme.
我对上述问题发表了以下评论,但50的羯磨是需要。请通过项目网站向我发送电子邮件,进一步解决此问题,因为我正在为常见的颜色问题建立一个良好的演练。
I'd really like to get in on all the colorful goodness of the solarized colorscheme, but I can't seem to get it configured just right.
I have the main solarized file in my .vim/colors folder, I've set my terminal profile colors to what is listed on the site, and I've added the lines
set background=dark
let g:solarized_termcolors=16
colorscheme solarized
to my .vimrc, but vim looks grey-ed out and is using a bright green color as the default. Any ideas?
Here's my recommendation for things to try:
I'd comment on the question above for the following, but karma of 50 is required. Please do email me via the project site to troubleshoot this further as I am in the process of establishing a good walkthrough for common color issues.
这篇关于Ubuntu,vim和日光色调调色板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!