diff options
author | doy <doy@tozt.net> | 2009-01-03 17:35:48 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-01-03 17:35:48 -0500 |
commit | 119bcc62fe8f98de41fbf06a89eb0e62c0d5ad81 (patch) | |
tree | 0f2ebd12ae50861fd8ced56cc8ddff1b9b3ec51e /vimrc | |
parent | 9aedb421777026689f2a6075a062545d615605be (diff) | |
download | conf-119bcc62fe8f98de41fbf06a89eb0e62c0d5ad81.tar.gz conf-119bcc62fe8f98de41fbf06a89eb0e62c0d5ad81.zip |
set the guifont based on which os i'm running
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 {{{ |