From 35f23c01289ff3942c9c9bcf8f6d4cf125251982 Mon Sep 17 00:00:00 2001 From: Chris Hu Date: Wed, 17 Aug 2016 21:35:55 +0800 Subject: [PATCH] update configs --- my_configs.vim | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/my_configs.vim b/my_configs.vim index 75c11648..1c9aaba0 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -10,3 +10,29 @@ elseif has("unix") set gfn=Monospace\ 20 endif +" move around tabs. conflict with the original screen top/bottom +" comment them out if you want the original H/L +" go to prev tab +map gT +" go to next tab +map gt +" mv current tab left +map :execute 'tabmove ' . (tabpagenr()-2) +" mv current tab right +map :execute 'tabmove ' . tabpagenr() + +" new tab +map :tabnew +" close tab +map :tabclose + +" toggle NerdTree +map :NERDTreeToggle + +set expandtab +set shiftwidth=2 +set tabstop=2 +set softtabstop=2 + +set cmdheight=1 +