update configs
This commit is contained in:
parent
bea112fef8
commit
35f23c0128
1 changed files with 26 additions and 0 deletions
|
@ -10,3 +10,29 @@ elseif has("unix")
|
||||||
set gfn=Monospace\ 20
|
set gfn=Monospace\ 20
|
||||||
endif
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue