Skip to content

Instantly share code, notes, and snippets.

@foxbunny
Created May 23, 2019 08:51
Show Gist options
  • Save foxbunny/67ef44b13aa2f5edabee3ec4f2206249 to your computer and use it in GitHub Desktop.
Save foxbunny/67ef44b13aa2f5edabee3ec4f2206249 to your computer and use it in GitHub Desktop.
Local Vim configuration for C projects
# 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