Skip to content

Instantly share code, notes, and snippets.

@jeffsharpe
Created February 5, 2014 17:21
Show Gist options
  • Save jeffsharpe/8828837 to your computer and use it in GitHub Desktop.
Save jeffsharpe/8828837 to your computer and use it in GitHub Desktop.
OS Detection in .gvimrc
if has('macunix')
set guifont=Monaco:h13
set fuoptions=maxvert,maxhorz
elseif has('unix')
set guifont=Inconsolata\ Medium\ 12
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment