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 +