在vim.org 搜一下,下载一个color scheme,
放到~/.vim/colors/下(linux)或者$HOME/.vim/colors/下(windows)
再在你的.vimrc文件中加一句colorscheme *.vim
*代表你刚才下的colorscheme!

或者你直接到里面加一句colorscheme morning
这个morning是自带的一个!
 
 
1.把/usr/share/vim/vimrc或/etc/vim/vimrc 中的“syntax on”取消注释即可
2.颜色过暗,修改desert.vim文件。/usr/share/vim/vim71/colors/desert.vim中的“hi Folded ctermfg=darkgrey ctermbg=NONE”修改为“hi Folded ctermfg=darkgrey ctermfg=4 ctermbg=7”
3.添加/etc/vim/vimrc中的
if has("gui_running")
colorscheme default
else
colorscheme desert
endif

相关文章:

  • 2021-10-07
  • 2022-01-08
  • 2022-12-23
  • 2021-07-15
  • 2021-11-18
  • 2022-12-23
猜你喜欢
  • 2021-10-15
  • 2022-12-23
  • 2021-11-03
  • 2021-07-08
  • 2021-09-24
  • 2021-11-10
相关资源
相似解决方案