From 5ea8349eb5830b9a8775e056661255ccd65cffbe Mon Sep 17 00:00:00 2001 From: Maciej Sobkowski Date: Thu, 2 Jul 2015 11:34:46 +0200 Subject: Vim: additional plugin configuration --- vim/.vimrc | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'vim') diff --git a/vim/.vimrc b/vim/.vimrc index 06f69ac..ef63922 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -190,7 +190,7 @@ set scrolloff=10 " ============================================================================= " Cscope " ============================================================================= -" + nnoremap fa :call cscope#findInteractive(expand('')) nnoremap l :call ToggleLocationList() " s: Find this C symbol @@ -214,5 +214,27 @@ nnoremap fi :call cscope#find('i', expand('')) " ============================================================================= " Plugins configuration " ============================================================================= -" + +" Airline - use powerline fonts let g:airline_powerline_fonts = 1 + +"" YouCompleteMe +let g:ycm_complete_in_comments = 1 +let g:ycm_seed_identifiers_with_syntax = 1 +let g:ycm_collect_identifiers_from_comments_and_strings = 1 +let g:ycm_always_populate_location_list = 1 + +" YCM - don't ask to load config +let g:ycm_confirm_extra_conf = 0 + +" YCM - autoclouse scratch window +let g:ycm_autoclose_preview_window_after_completion = 1 +let g:ycm_autoclose_preview_window_after_insertion = 1 + + +"" Ultisnips +let g:UltiSnipsExpandTrigger="" +let g:UltiSnipsJumpForwardTrigger="" +let g:UltiSnipsJumpBackwardTrigger="" +let g:UltiSnipsListSnippets="" + -- cgit v1.2.3-70-g09d2