From f0641f411392c02e44aa27f02980ba89d04c44d6 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Wed, 22 May 2019 17:08:47 -0700 Subject: [PATCH] Close preview window on exiting insert mode. --- dotfiles/vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/dotfiles/vimrc b/dotfiles/vimrc index deacece..33630a9 100644 --- a/dotfiles/vimrc +++ b/dotfiles/vimrc @@ -121,6 +121,7 @@ nnoremap :SyntasticCheck :Errors " Load vim-ycm if installed on the system level if isdirectory("/usr/share/vim-youcompleteme") + set g:ycm_autoclose_preview_window_after_insertion=1 set runtimepath+=/usr/share/vim-youcompleteme endif