Set different fonts for Mac/Win32 GUI.
This commit is contained in:
parent
356fe8b618
commit
109fe6a8b9
6
.vimrc
6
.vimrc
@ -9,11 +9,15 @@ else
|
|||||||
endif
|
endif
|
||||||
if has("gui_running")
|
if has("gui_running")
|
||||||
colorscheme tesla
|
colorscheme tesla
|
||||||
|
syntax on
|
||||||
|
if has("win32")
|
||||||
|
set guifont=Consolas:h10:b
|
||||||
|
elseif has("mac")
|
||||||
"set guifont=Menlo\ Bold
|
"set guifont=Menlo\ Bold
|
||||||
"set guifont=Bitstream\ Vera\ Sans\ Mono\ Bold
|
"set guifont=Bitstream\ Vera\ Sans\ Mono\ Bold
|
||||||
set guifont=DejaVu\ Sans\ Mono\ Bold
|
set guifont=DejaVu\ Sans\ Mono\ Bold
|
||||||
|
endif
|
||||||
set guioptions=egmrt
|
set guioptions=egmrt
|
||||||
syntax on
|
|
||||||
endif
|
endif
|
||||||
set nowrap " Disable word wrap.
|
set nowrap " Disable word wrap.
|
||||||
set tabstop=4 " Set tab to 4 characters.
|
set tabstop=4 " Set tab to 4 characters.
|
||||||
|
Loading…
Reference in New Issue
Block a user