au BufEnter *.cpp let b:fswitchlocs = 'reg:/\Csource/include/'
augroup END
+nnoremap <buffer> gd :YcmCompleter GoTo<CR>
+nnoremap <buffer> <C-W>d :vs<CR>:YcmCompleter GoTo<CR>
+
setlocal foldmethod=syntax
" set foldlevel according to number of matches of 'namespace' and 'class' not
" containing ';'
let g:ycm_complete_in_strings = 1
let g:ycm_autoclose_preview_window_after_insertion = 0
"let g:ycm_extra_conf_vim_data = ['%:p']
-nnoremap gd :YcmCompleter GoTo<CR>
" vim-easy-align {{{2
" start interactive EasyAlign in visual mode