mirror of
1
0
Fork 0

update configs

This commit is contained in:
Chris Hu 2016-08-17 21:35:55 +08:00 committed by Huaishun Hu
parent bea112fef8
commit 35f23c0128
1 changed files with 26 additions and 0 deletions

View File

@ -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 <S-H> gT
" go to next tab
map <S-L> gt
" mv current tab left
map <C-H> :execute 'tabmove ' . (tabpagenr()-2)<CR>
" mv current tab right
map <C-L> :execute 'tabmove ' . tabpagenr()<CR>
" new tab
map <C-t><C-t> :tabnew<CR>
" close tab
map <C-t><C-w> :tabclose<CR>
" toggle NerdTree
map <F4> :NERDTreeToggle<CR>
set expandtab
set shiftwidth=2
set tabstop=2
set softtabstop=2
set cmdheight=1