From 56bc053e146291e4fc0cc64885e1c51ddff06b43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=98=A5=E5=A5=95?= <373852389@qq.com> Date: Tue, 11 Oct 2016 11:15:28 +0800 Subject: [PATCH] set tabs = 2 and tab shortcut --- my_configs.vim | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/my_configs.vim b/my_configs.vim index 083f80bb..67d08650 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -2,6 +2,20 @@ set background=dark colorscheme solarized -"tabspace = 2 +" tabspace = 2 autocmd FileType * set tabstop=2|set shiftwidth=2 +" tab switch +noremap 1 1gt +noremap 2 2gt +noremap 3 3gt +noremap 4 4gt +noremap 5 5gt +noremap 6 6gt +noremap 7 7gt +noremap 8 8gt +noremap 9 9gt +noremap 0 :tablast + + +