OSX vim 背景被终端背景覆盖
我在 Lion OSX 中使用 vim 7.3。
无论我尝试应用什么主题,都会保留终端的背景颜色,在我的例子中,我将其设置为 Silver Aerogel
主题。
奇怪的是,使用 Zenburn 主题可以工作,但一段时间后就会中断,导致看起来像所附图像的东西。在我的 vimrc 中,我设置了 set t_Co=256
。我的 vimrc 文件: http://dpaste.com/699961/
大家帮忙吗?
I'm using vim 7.3 in Lion OSX.
Whatever theme I have tried to apply retains the terminal's background color, which in my case I've set as Silver Aerogel
theme.
Curiously, using the theme Zenburn works but breaks after awhile resulting in something that looks like the attached image. In my vimrc, I have this set set t_Co=256
. My vimrc file: http://dpaste.com/699961/
Help guys?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我曾经遇到过这个问题...然后我了解到为gvim或macvim设计的配色方案不一定在256终端兼容。如果它不是为 256 色终端设计的,请尝试 csapprox 插件。 (csappox 描述)
I used to have this problem... Then I learned that color schemes designed for gvim or macvim are not necessarily compatible in a 256 terminal. If it wasn't designed for a 256 color terminal, try the csapprox plugin. (csappox description)