From a32c95cd639a301163f44a2c84cbcdcdb50a4b4f Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Wed, 10 Jul 2013 20:59:38 -0500 Subject: [PATCH] [vim] drinking the tab kool-aid Settings copied from @bryanforbes --- vim/vimrc.symlink | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index d6ee055..7ef6647 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -70,11 +70,12 @@ let g:mapleader = "," set history=10000 " Tab control -set smarttab -set expandtab -set shiftwidth=4 -set tabstop=4 -set softtabstop=4 +set noexpandtab " insert tabs rather than spaces for +set smarttab " tab respects 'tabstop', 'shiftwidth', and 'softtabstop' +set tabstop=4 " the visible width of tabs +set softtabstop=4 " edit as if the tabs are 4 characters wide +set shiftwidth=4 " number of spaces to use for indent and unindent +set shiftround " round indent to a multiple of 'shiftwidth' " if has('mouse') " set mouse=a