LinuxSir.cn,穿越时空的Linuxsir!

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

vim syntax highlight problem.

[复制链接]
发表于 2005-5-12 16:47:47 | 显示全部楼层 |阅读模式
:help
When i type "syntax on" in the command mode , the vim return an error "can not open file /usr/share/vim/vim61/syntax/syntax.vim".
but I really don't have this file or directory. Because I use vim63 actually. The correct path will be "/usr/share/vim/vim63/syntax/syntax.vim". I guess i should edit the path  somewhere to solve the problem,  but i can't find it.
Please help me, hacker! What i should do.
Thank you very much!
发表于 2005-5-12 20:26:57 | 显示全部楼层
把 /usr/share/vim 全部删除,然后尝试一下重新编译  VIM 63
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-13 01:12:55 | 显示全部楼层
:-(
i finally solve the problem. Just copy the vim63 to vim61. It will do the trick, but i feel suck.
though i try to find the "vim61" pattern in some files with grep, it's failed because my poor script. :-(
Why Would you try this? Waiting for your reply.
Or this path the implyed with some other environment paramter? How can i list all of my environment paras??? :ask
Thanks for your help.

I can't input any chinese character for the input method problem. :-(
Sorry about that.
回复 支持 反对

使用道具 举报

发表于 2005-6-16 00:17:42 | 显示全部楼层
setenv XTERM ansi

or

export XTERM=ansi
回复 支持 反对

使用道具 举报

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

本版积分规则

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