diff --git a/.vimrc b/.vimrc index d103e64..934d4c9 100644 --- a/.vimrc +++ b/.vimrc @@ -50,10 +50,12 @@ filetype plugin indent on " required " see :h vundle for more details or wiki for FAQ " Put your non-Plugin stuff after this line +syntax on + set relativenumber set number set autoindent -set syntax + set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc,.png,.jpg @@ -82,7 +84,6 @@ if has("autocmd") autocmd BufNewFile *.sh 0r ~/.vim/templates/skeleton.sh autocmd BufNewFile *.sh 2 - autocmd BufNewFile *.sh start autocmd BufNewFile *.cpp 0r ~/.vim/templates/skeleton.cpp autocmd BufNewFile *.cpp 10 @@ -100,3 +101,4 @@ hi Asterisks NONE hi AsteriskItalic cterm=italic gui=italic syn match Asterisks contained "**" conceal syn match AsteriskItalic "\\\@