pihelper-c/.vimrc
William Brawner b88fba9644 Initial commit
This code is absolutely horrendous in its current state, with poor error
handling (where it's even present) and memory leaks galore. USE AT YOUR
OWN RISK. I certainly won't be publishing it anywhere or speaking of it
until it's in a much better state.
2019-12-30 14:18:57 -06:00

10 lines
442 B
VimL

set colorcolumn=110
highlight ColorColumn ctermbg=darkgray
augroup project
autocmd!
autocmd BufRead,BufNewFile *.h,*.c set filetype=c.doxygen
augroup END
nnoremap <F4> :!mkdir -p build <bar> cmake -B build <bar> make -C build<cr>
nnoremap <F4> :!build/PiHelper/pihelper localhost<cr>
nnoremap <F9> :!rm -rf build<cr>
let &path.="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include,"