chiark / gitweb /
dot/vimrc: Turn on mode-sensitive indentation, and tweak indent levels.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 21 Oct 2010 13:49:55 +0000 (14:49 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 21 Oct 2010 14:00:00 +0000 (15:00 +0100)
Not that I use vim for anything.

dot/vimrc

index 99e3a53b7cbed25409a20df19db83129042193c5..87b4595d887bd56b6107c248aeb3ebea916d5cba 100644 (file)
--- 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