diff options
| -rw-r--r-- | .vimrc | 24 |
1 files changed, 19 insertions, 5 deletions
@@ -1,12 +1,26 @@ -autocmd FileType make setlocal noexpandtab -nnoremap <Space> : -set autoindent -set expandtab +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Display + +set cc=100 set nowrap set number + +syntax on + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Indentation + +set autoindent +set expandtab set shiftwidth=4 set smarttab -syntax on + +autocmd FileType make setlocal noexpandtab + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Key maps + +nnoremap <Space> : if filereadable("build.sh") nnoremap t :!./build.sh<Cr> |