LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1860|回复: 13

[问题]gvim配色出错

[复制链接]
发表于 2008-3-12 13:31:48 | 显示全部楼层 |阅读模式
用了arch半个月了。可是还是没有解决gvim配色出错的问题,也没有搜到。

每次启动gvim是背景都变成灰色的(如附件图),手动设下颜色就又正常了。好像不是配置文件的问题,也不是插件的问题,我试过把.vim和.vimrc提到别处,也会出现这个情况。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2008-3-12 13:44:26 | 显示全部楼层
和系统theme有关系?。。不知道了。。
回复 支持 反对

使用道具 举报

发表于 2008-3-12 13:50:00 | 显示全部楼层
This problem has nothing to do with the system's theme you use.
Just use .gvimrc to control the theme/font of Gvim and set the theme you desire there, then you will solve it

Hope this may help
AndyWxy
回复 支持 反对

使用道具 举报

发表于 2008-3-12 13:58:07 | 显示全部楼层
照楼上的方法做
回复 支持 反对

使用道具 举报

发表于 2008-3-12 14:15:51 | 显示全部楼层
没错,vim和gvim分别使用不同的配置文件。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-12 14:28:38 | 显示全部楼层
Post by cyf3732;1825672
This problem has nothing to do with the system's theme you use.
Just use .gvimrc to control the theme/font of Gvim and set the theme you desire there, then you will solve it

Hope this may help
AndyWxy


谢谢。不过为什么其他发行版中没有这个问题呢?比如Ubuntu,FC。
回复 支持 反对

使用道具 举报

发表于 2008-3-12 14:55:07 | 显示全部楼层
其他发行版中默认 gvim使用和vim一样的 .vimrc
回复 支持 反对

使用道具 举报

发表于 2008-3-12 15:16:46 | 显示全部楼层
Post by number5;1825699
其他发行版中默认 gvim使用和vim一样的 .vimrc


windows下,如果_gvimrc存在,还是会用_gvimrc的
回复 支持 反对

使用道具 举报

发表于 2008-3-12 20:04:47 | 显示全部楼层
/etc/gvimrc
里面设置了灰色背景
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-13 08:07:59 | 显示全部楼层
好像会先载入vimrc,然后再载入gvimrc。是这样吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表