nnoremap <buffer> gd :YcmCompleter GoTo<CR>
nnoremap <buffer> <C-W>d :vs<CR>:YcmCompleter GoTo<CR>
+" format with =
+map <buffer> = <Plug>(operator-clang-format)
+vnoremap <buffer> = :ClangFormat<CR>
+" restore = mapping to g=
+nnoremap <buffer>g= =
+vnoremap <buffer>g= =
+
setlocal errorformat=
setlocal errorformat+=%f:%l:%c:\ %trror:\ %m
setlocal errorformat+=%f:%l:%c:\ %tarning:\ %m
Plugin 'vim-latex/vim-latex'
Plugin 'alx741/vinfo'
Plugin 'derekwyatt/vim-protodef'
+Plugin 'ram-z/vim-clang-format'
" needs editing colorscheme
" Plugin 'jeaye/color_coded'
" Check LucHermites plugins: https://github.com/LucHermitte/lh-cpp