breakhack/.vimrc

8 lines
189 B
VimL
Raw Normal View History

2017-12-17 13:43:41 +01:00
nnoremap <F1> :Make<cr>
nnoremap <F2> :Make clean<cr>
2017-12-17 13:43:41 +01:00
au FileType c setl makeprg=ninja\ -C\ build
au FileType h setl makeprg=ninja\ -C\ build
let g:syntastic_c_include_dirs = [ 'build' ]