Created
February 5, 2014 17:21
-
-
Save jeffsharpe/8828837 to your computer and use it in GitHub Desktop.
OS Detection in .gvimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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