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
" 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