Created
May 23, 2019 08:51
-
-
Save foxbunny/67ef44b13aa2f5edabee3ec4f2206249 to your computer and use it in GitHub Desktop.
Local Vim configuration for C projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Taken from http://www.alexeyshmalko.com/2014/using-vim-as-c-cpp-ide/ | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
set noexpandtab | |
augroup project | |
autocmd! | |
autocmd BufRead,BufNewFile *.h,*.c set filetype=c.doxygen | |
augroup END | |
let &path.="src/include,/usr/include/AL," | |
set makeprg=make\ -C\ ../build\ -j9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment