Monday, August 8, 2011

How to distinguish between different OSs in the .vimrc?

Dear Vimers,

is there any way known to distinguish between different OSs in the .vimrc?

E.g.:

if OS='Mac'
  set gfn=Monaco
else
  set gfn=Monospace
end

Help will be much appreciated!

Kind regards!
Asis

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: