- 论坛徽章:
- 0
|
我在linux下, 用深色背景, 注释太暗,看不清, 是这样解决的。
1, 在~/.vimrc中添加:
" for colorscheme. added by albcamus
if 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
2, 把/usr/share/vim/vim70/colors/desert.vim拷贝到~/.vim/colors下, 做了一点更改:
cd ~
diff .vim/colors/desert.vim /usr/share/vim/vim70/colors/desert.vim
89c89
< hi Folded ctermfg=darkgrey ctermfg=4 ctermbg=7
---
> hi Folded ctermfg=darkgrey ctermbg=NONE
这样在konsole使用vim, 即使底色很暗, 注释也不会很暗了。 希望对楼主有帮助^_^ |
|