1 " This local vim configuration assumes the build directory be in the root
2 " of the source tree named 'build'
4 " This just my personal preference for normal day-to-day development of this project.
7 map <C-K> :pyf /usr/share/vim/addons/syntax/clang-format-3.7.py<CR>
8 imap <C-K> <ESC>:pyf /usr/share/vim/addons/syntax/clang-format-3.7.py<CR>i
9 map <leader>fm ggVG :pyf /usr/share/vim/addons/syntax/clang-format-3.7.py<CR>
12 map <F4> :grep -Ernw --include=*.c* --include=*.h* <cword> src test <Bar> cw<CR>
15 set tags+=tags,build/tags
18 command! CTL silent CCTreeLoadDB build/cscope.out
21 let g:ycm_autoclose_preview_window_after_completion=1
22 let g:ycm_autoclose_preview_window_after_insertion=1
23 let g:ycm_confirm_extra_conf=0
24 let g:syntastic_always_populate_loc_list = 1
25 let g:syntastic_check_on_open=1
26 let g:syntastic_enable_signs=1