summaryrefslogtreecommitdiff
path: root/.vim/vimrc_files/plugin_config.vim
blob: ab778ab3ddba072cf32d7f0e93d6739573c1d592 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
" dotfiles -- .vim/vimrc_files/plugin_config.vim
" author: johannst


" +----------------------------+
" | Vim-Airline                |
" +----------------------------+
" Enable the list of buffers
let g:airline#extensions#tabline#enabled = 1
" Show just the filename
let g:airline#extensions#tabline#fnamemod = ':t'


let g:airline_powerline_fonts = 1

if !exists('g:airline_symbols')
     let g:airline_symbols = {}
endif


" +----------------------------+
" | Tagbar                     |
" +----------------------------+
let g:tagbar_ctags_bin='/u/jstolp/bin/ctags'
"let g:tagbar_ctags_bin='/home/johannst/apps/bin/ctags'


" +----------------------------+
" | OmniCppComplete            |
" +----------------------------+
" add tags
" set tags+=~/.vim/tags/cpp_tags

" OmniCppComplete
let OmniCpp_NamespaceSearch = 1
let OmniCpp_GlobalScopeSearch = 1
let OmniCpp_ShowAccess = 1
let OmniCpp_ShowPrototypeInAbbr = 1 " show function parameters
let OmniCpp_MayCompleteDot = 1 " autocomplete after .
let OmniCpp_MayCompleteArrow = 1 " autocomplete after ->
let OmniCpp_MayCompleteScope = 1 " autocomplete after ::
let OmniCpp_DefaultNamespaces = ["std", "_GLIBCXX_STD"]
" automatically open and close the popup menu / preview window
au CursorMovedI,InsertLeave * if pumvisible() == 0|silent! pclose|endif
set completeopt=menuone,menu,longest,preview