3

For a reason I can't figure out, the Monaco font doesn't render the same at all on Mac and Linux... It's really beautiful on my Macbook but not on Linux where I use Inconsolata.

I've got a dotfiles git repository to have my config on all my computers.

How do I automatically set in my .gvimrc the font to Monaco when on Mac and Inconsolata elsewhere ?

1 Answer 1

7
if has("mac")
   set guifont="Monaco"
else
   set guifont="Inconsolata"
endif

check also the documentation about the feature-list.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .