I installed You Complete Me with the help of Vundle in vim. The first time I used it, the suggested words were completely unreadable. They had a dark purple background and a black font color. Then I saw this post on quora and changed my .vimrc now. My .vimrc looks like this at the moment.
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
Unfortunately the suggested words are display like this
I can't read that very well and would like to change it but don't know how. I thought that my current settings would give me white foreground and black background.
After installing this Plugin I also have 4 instead of 2 indents.. I already tried this, but it didn't serve me. How can I change this?
You are editing the settings for the GUI not for the command line.
highlight Pmenu ctermfg=15 ctermbg=0 guifg=#ffffff guibg=#000000
This would give you a black background and a white foreground in both gvim and the command line.
Edit: corrected spelling