【发布时间】:2011-04-29 04:36:51
【问题描述】:
在 CentOS 5.3 上以 root 身份登录,我无法在 vim(7.0.237,最小,通用和增强 rpms)中使用颜色,即使在 :syntax on ... 我可以用其他命令显示颜色,所以我有颜色(我不知道有多少!)
有什么线索吗?
谢谢。
【问题讨论】:
-
加载文件后
:scriptnames和:filetype的输出是什么? -
没什么!我启动了 vim (
[root@hostname ~] vim),然后输入了 rour 命令,什么也没出现... -
那么,
:version和:echo $VIM、:echo $VIMRUNTIME告诉我们什么? -
:version VIM - Vi IMproved 7.0(2006 年 5 月 7 日,2009 年 9 月 19 日 17:22:51 编译)包含的补丁:1、3-4、7-9、11、13-17、19 -26, 29-31, 34-44, 47, 50-56, 58-64, 66-73, 75, 77-92, 94-107, 109, 202, 234-237 由
(...) -
Tiny version without GUI. Features included (+) or not (-): -arabic -autocmd -balloon_eval -browse +builtin_terms -byte_offset -cindent -clientserver -clipboard -cmdline_compl -cmdline_hist -cmdline_info -comments -cryptv -cscope -cursorshape -dialog -diff -digraphs -dnd -ebcdic -emacs_tags -eval -ex_extra -extra_search -farsi -file_in_path -find_in_path -folding -footer +fork() -gettext (...) -syntax
标签: vim terminal centos color-scheme