Monday, August 8, 2011

Re: *** GMX Spamverdacht *** How to distinguish between different OSs in the .vimrc?

:h has()
:h feature-list

Yes, its commont to have has('win16') || has('win332') || ... (you can
grep in $VIMRUNTIME to see how often this is used.

Of course there are more ways eg expand('/') returns \ on win only ..

Marc Weber

--
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: