From c247bfdcebc82233cd5ba1c6db71fedfb5c56b3c Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Wed, 8 Jul 2015 14:15:35 +0200 Subject: [PATCH] Default indentation --- .vimrc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.vimrc b/.vimrc index 8969a34..3726675 100644 --- a/.vimrc +++ b/.vimrc @@ -80,6 +80,24 @@ highlight link cSpaceError SpaceError highlight link pythonSpaceError SpaceError highlight SpaceError ctermfg=235 cterm=reverse +""""""""""""""" +" INDENTATION " +""""""""""""""" +" use tabs at the start of a line, spaces elsewhere +set smarttab +set smartindent +set autoindent +"" tab=4 +"set tabstop=4 +"set softtabstop=4 +"set shiftwidth=4 +" tab=8 +set tabstop=8 +set softtabstop=8 +set shiftwidth=8 +" real tabs +" set noexpandtab + if has("autocmd") " enable file type detection and do language-dependent indenting " filetype plugin indent on