From 72b74db2ec5f65d1d7ae2741168be0451374c390 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=98=A5=E5=A5=95?= <373852389@qq.com> Date: Sun, 9 Oct 2016 14:10:27 +0800 Subject: [PATCH] set tabwidth eq 2 --- my_configs.vim | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/my_configs.vim b/my_configs.vim index 2da1725d..083f80bb 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -3,11 +3,5 @@ set background=dark colorscheme solarized "tabspace = 2 -set ts = 2 -set sw = 2 - -" reload vim environment -nmap r :source $MYVIMRC - - +autocmd FileType * set tabstop=2|set shiftwidth=2