1
0
Fork 0
mirror of synced 2024-06-16 05:51:11 -04:00

update vimrc

This commit is contained in:
Huaishun Hu 2017-11-27 13:41:25 +08:00
parent 38e881546f
commit 3b01a63d51

View file

@ -1,13 +1,13 @@
if has("mac") || has("macunix") if has("mac") || has("macunix")
set gfn=Hack:h14,Source\ Code\ Pro:h14,Menlo:h14 set gfn=Hack:h10,Source\ Code\ Pro:h10,Menlo:h10
elseif has("win16") || has("win32") elseif has("win16") || has("win32")
set gfn=Hack:h14,Source\ Code\ Pro:h14,Bitstream\ Vera\ Sans\ Mono:h14 set gfn=Hack:h10,Source\ Code\ Pro:h10,Bitstream\ Vera\ Sans\ Mono:h10
elseif has("gui_gtk2") elseif has("gui_gtk2")
set gfn=Hack\ 14,Source\ Code\ Pro\ 14,Bitstream\ Vera\ Sans\ Mono\ 14 set gfn=Hack\ 10,Source\ Code\ Pro\ 10,Bitstream\ Vera\ Sans\ Mono\ 10
elseif has("linux") elseif has("linux")
set gfn=Hack\ 14,Source\ Code\ Pro\ 14,Bitstream\ Vera\ Sans\ Mono\ 14 set gfn=Hack\ 10,Source\ Code\ Pro\ 10,Bitstream\ Vera\ Sans\ Mono\ 10
elseif has("unix") elseif has("unix")
set gfn=Monospace\ 14 set gfn=Monospace\ 10
endif endif
" move around tabs. conflict with the original screen top/bottom " move around tabs. conflict with the original screen top/bottom
@ -25,6 +25,8 @@ map <C-L> :execute 'tabmove ' . (tabpagenr()+1)<CR>
map <C-t><C-t> :tabnew<CR> map <C-t><C-t> :tabnew<CR>
" close tab " close tab
map <C-t><C-w> :tabclose<CR> map <C-t><C-w> :tabclose<CR>
" show all open tabs
map <C-t><C-a> :tabs<CR>
" toggle NerdTree " toggle NerdTree
map <F4> :NERDTreeToggle<CR> map <F4> :NERDTreeToggle<CR>