summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-01-03 17:35:48 -0500
committerdoy <doy@tozt.net>2009-01-03 17:35:48 -0500
commit119bcc62fe8f98de41fbf06a89eb0e62c0d5ad81 (patch)
tree0f2ebd12ae50861fd8ced56cc8ddff1b9b3ec51e /vimrc
parent9aedb421777026689f2a6075a062545d615605be (diff)
downloadconf-119bcc62fe8f98de41fbf06a89eb0e62c0d5ad81.tar.gz
conf-119bcc62fe8f98de41fbf06a89eb0e62c0d5ad81.zip
set the guifont based on which os i'm running
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc8
1 files changed, 8 insertions, 0 deletions
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 {{{