My earlier posts about using Vim were well received and it’s about time for an update. I’ve been doing a lot more work with Vim lately and have spent some time configuring my workflow for peak efficiency, so here’s a snapshot of my current state.
My Note:
In '.vimrc Setup' section, in place of this:
"" only show completion as a list instead of a sub-window
set completeopt-=preview
use this:
"" no preview window after completion
let g:ycm_autoclose_preview_window_after_completion=1
For more options, check: https://github.com/Valloric/YouCompleteMe#options