From 109fe6a8b94a77881a52995ec6900c9691518ae7 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Tue, 11 May 2010 16:47:15 -0500 Subject: [PATCH] Set different fonts for Mac/Win32 GUI. --- .vimrc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.vimrc b/.vimrc index 8812303..9ef15a2 100644 --- a/.vimrc +++ b/.vimrc @@ -9,11 +9,15 @@ else endif if has("gui_running") colorscheme tesla - "set guifont=Menlo\ Bold - "set guifont=Bitstream\ Vera\ Sans\ Mono\ Bold - set guifont=DejaVu\ Sans\ Mono\ Bold - set guioptions=egmrt syntax on + if has("win32") + set guifont=Consolas:h10:b + elseif has("mac") + "set guifont=Menlo\ Bold + "set guifont=Bitstream\ Vera\ Sans\ Mono\ Bold + set guifont=DejaVu\ Sans\ Mono\ Bold + endif + set guioptions=egmrt endif set nowrap " Disable word wrap. set tabstop=4 " Set tab to 4 characters.