nmeadump: more AIS messages added.
[marnav.git] / .vimrc.local
blob3dcf19986d419aa41d6e749814f9d0371bec3b6d
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.
6 " clang-format
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>
11 " grepping
12 map <F4> :grep -Ernw --include=*.c* --include=*.h* <cword> src test <Bar> cw<CR>
14 " tags
15 set tags+=tags,build/tags
17 " cctree command
18 command! CTL silent CCTreeLoadDB build/cscope.out
20 " youcompleteme
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