[vim] Switch to vim-sleuth for tab config
change
commit 6e545a1d814e993b2959f6bf8c574f09cf404b60
author Alpha Chen <alpha.chen@gmail.com>
date
parent 3e37d1f4
diff --git a/.gitmodules b/.gitmodules
index 72a94bd2..7eb1c8ee 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 00000000..6b0c9d61
--- /dev/null
+++ b/vim/.vim/bundle/vim-sleuth
@@ -0,0 +1 @@
+Subproject commit 6b0c9d61e246cb3a046202de0a016451c0dc1ede
diff --git a/vim/.vimrc b/vim/.vimrc
index 7a969fa1..f916bf28 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