summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vimrc24
1 files changed, 19 insertions, 5 deletions
diff --git a/.vimrc b/.vimrc
index bd4ad9e..84def96 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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>