From 0f018749c4cafb099dff54ac476b0a3dd8e2d1bb Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 29 Oct 2018 20:12:46 +0100 Subject: [PATCH] Youcompleteme and airline config --- vim/vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index 660d730..f14cc4f 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -17,6 +17,15 @@ set number " always enable status line set laststatus=2 +" youcomleteme config +let g:ycm_autoclose_preview_window_after_insertion = 1 +let g:ycm_autoclose_preview_window_after_completion = 1 + +nmap :YcmCompleter GoTo + +" vim-airline config +let g:airline#extensions#whitespace#mixed_indent_algo = 2 + " themes colorscheme elflord