1 " Load the doxygen syntax
2 let b:load_doxygen_syntax = 1
6 au BufEnter *.h let b:fswitchdst = 'c,cpp,cxx'
7 au BufEnter *.h let b:fswitchlocs = '.,reg:|include.*|src|'
8 au BufEnter *.c let b:fswitchdst = 'h'
9 au BufEnter *.c let b:fswitchlocs = 'reg:|source|include/**|'
10 au BufEnter *.hpp let b:fswitchdst = 'cpp,cxx,c'
11 au BufEnter *.hpp let b:fswitchlocs = 'reg:|include.*|src|'
12 au BufEnter *.c(pp|xx) let b:fswitchdst = 'hpp,h'
13 au BufEnter *.c(pp|xx) let b:fswitchlocs = 'reg:|src|include/**|'
16 nnoremap <buffer> gd :YcmCompleter GoTo<CR>
17 nnoremap <buffer> <C-W>d :vs<CR>:YcmCompleter GoTo<CR>