autocmd FileType make setlocal noexpandtab nnoremap : set autoindent set expandtab set nowrap set number set shiftwidth=4 set smarttab syntax on if filereadable("build.sh") nnoremap t :!./build.sh endif if filereadable("build/build.ninja") nnoremap t :!ninja -C build endif