我在
vimle的帮助下安装了You Complete Me.我第一次使用它时,建议的单词完全不可读.它们有深紫色背景和黑色字体颜色.然后我看到了
this post on quora并且现在改变了我的.vimrc.我的.vimrc目前看起来像这样.
set tabstop=2 highlight Comment ctermfg=lightblue highlight Pmenu ctermfg=2 ctermbg=3 guifg=#ffffff guibg=#000000 set nocompatible " be iMproved,required filetype off " required " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " let Vundle manage Vundle,required Plugin 'gmarik/Vundle.vim' Plugin 'Valloric/YouCompleteMe' " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required
不幸的是,建议的单词显示如下
我读不太清楚,想改变它,但不知道怎么做.我认为我目前的设置会给我白色前景和黑色背景.
您正在编辑GUI的设置而不是命令行.
突出显示Pmenu ctermfg = 15 ctermbg = 0 guifg = #ffffff guibg =#000000
这将在gvim和命令行中为您提供背景和白色前景.