From: Mark Wooding Date: Thu, 21 Oct 2010 13:49:55 +0000 (+0100) Subject: dot/vimrc: Turn on mode-sensitive indentation, and tweak indent levels. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/0b496fcb9552eac2040f683e1dbb3145e7481bbd?ds=inline dot/vimrc: Turn on mode-sensitive indentation, and tweak indent levels. Not that I use vim for anything. --- diff --git a/dot/vimrc b/dot/vimrc index 99e3a53..87b4595 100644 --- a/dot/vimrc +++ b/dot/vimrc @@ -2,9 +2,14 @@ set incsearch set showcmd set autoindent +set softtabstop=2 +set shiftwidth=2 + if &t_Co > 2 || has("gui_running") syntax on set guifont=MiscFixed6x13\ 12 hi Normal guifg=white guibg=black set background=dark endif + +if has("autocmd") filetype plugin indent on endif