From 6e545a1d814e993b2959f6bf8c574f09cf404b60 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Sun, 3 Aug 2014 13:57:52 -0700 Subject: [PATCH] [vim] Switch to vim-sleuth for tab config --- .gitmodules | 3 +++ vim/.vim/bundle/vim-sleuth | 1 + vim/.vimrc | 8 ++++---- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 160000 vim/.vim/bundle/vim-sleuth diff --git a/.gitmodules b/.gitmodules index 72a94bd..7eb1c8e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -106,3 +106,6 @@ [submodule "vim/.vim/bundle/vim-endwise"] path = vim/.vim/bundle/vim-endwise url = git@github.com:tpope/vim-endwise.git +[submodule "vim/.vim/bundle/vim-sleuth"] + path = vim/.vim/bundle/vim-sleuth + url = git@github.com:tpope/vim-sleuth.git diff --git a/vim/.vim/bundle/vim-sleuth b/vim/.vim/bundle/vim-sleuth new file mode 160000 index 0000000..6b0c9d6 --- /dev/null +++ b/vim/.vim/bundle/vim-sleuth @@ -0,0 +1 @@ +Subproject commit 6b0c9d61e246cb3a046202de0a016451c0dc1ede diff --git a/vim/.vimrc b/vim/.vimrc index 7a969fa..f916bf2 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -80,11 +80,11 @@ set fileencoding=utf8 set fileformat=unix " indent/tabbing -set smartindent -set expandtab -set shiftwidth=2 +" set smartindent +" set expandtab +" set shiftwidth=2 " set softtabstop=2 -set tabstop=2 +" set tabstop=2 " reading set linebreak