(1) 解压 omnicppcomplete-0.41.zip 到目录 ~/.vim (unix) 或者 %HOMEPATH%\vimfiles (windows)
(2) 编辑 ~/.vimrc,增加如下内容
" ===== Set omnicppcomplete <C-X><C-O>, can get the option =====
" enable plugins
set nocp
filetype plugin on
" --c++-kinds=+p : Adds prototypes in the database for C/C++ files.
" --fields=+iaS : Adds inheritance (i), access (a) and function signatures (S) information.
" --extra=+q : Adds context to the tag name. Note: Without this