« | August 2025 | » | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | | | | | | | |
| 登录 |
| 联系我 email: binaryluo(at)gmail.com
Blog信息 |
blog名称:二进制-虚心使人进步,骄傲使人落后。 日志总数:42 评论数量:370 留言数量:88 访问次数:638551 建立时间:2005年2月19日 |

| |
[Linux学习与研究]Debian VI 高亮显示及注释颜色过暗更改方法 原创空间, 软件技术, 电脑与网络
binaryluo 发表于 2007/8/6 11:32:03 |
把/usr/share/vim/vimrc中的"syntax on"取消注释。
$mkdir ~/.vim/colors/
$cp /usr/share/vim/vim71/colors/desert.vim ~/.vim/colors/
修改desert.vim 中的: hi Folded ctermfg=darkgrey ctermbg=NONE 为: hi Folded ctermfg=darkgrey ctermfg=4 ctermbg=7
$vi .vimrc 输入一下内容:
" for colorscheme. added by albcamusif has("gui_running") "colorscheme default " It doesn't matter whether you comment this or not :else colorscheme desert " I'd like to use modified desert scheme instead " of the default one, in the CLI mode of course;-)endif
保存并退出。
|
|