From 119bcc62fe8f98de41fbf06a89eb0e62c0d5ad81 Mon Sep 17 00:00:00 2001 From: doy Date: Sat, 3 Jan 2009 17:35:48 -0500 Subject: set the guifont based on which os i'm running --- vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index cce2898..887ba71 100644 --- a/vimrc +++ b/vimrc @@ -225,6 +225,14 @@ autocmd InsertEnter * syn clear EOLWS | syn match EOLWS excludenl /\s\+\%#\@!$/ autocmd InsertLeave * syn clear EOLWS | syn match EOLWS excludenl /\s\+$/ highlight EOLWS ctermbg=red guibg=red " }}} +" fonts {{{ +if has('win32') || has('win64') || has('win32unix') + " is this right? + set guifont=Lucida\ Console\ 10 +elseif has('unix') + set guifont=Monospace\ 8 +endif +" }}} " }}} " Autocommands {{{ " When editing a file, always jump to the last cursor position {{{ -- cgit v1.2.3-54-g00ecf