From 905c061cb142e9f7b7ae59593dedc6106205849e Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Thu, 9 Mar 2017 10:42:58 +0100 Subject: [PATCH] Auto close after escape ycm preview --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index d05b9e0..24a280a 100644 --- a/vimrc +++ b/vimrc @@ -138,7 +138,7 @@ let g:instant_markdown_autostart = 0 " You complete me configuration file let g:ycm_global_ycm_extra_conf = '~/.vim/ycm_extra_conf.py' let g:ycm_confirm_extra_conf = 0 -set completeopt-=preview +let g:ycm_autoclose_preview_window_after_insertion = 1 " Rust source let g:ycm_rust_src_path='/opt/rust/src'