I was wondering if there is a list anywhere on all of the $<VARIABLES> 
which VIM has.  For instance, if you do a help on $VIM (i.e.: :h $VIM) 
you get information on the $VIM variable.  But if you do the same for 
$OS you get an error.

However, if you do

    :echo $OS

Vim comes back with what operating system you are currently running 
under.  I am sure there are more of these variables - but I can not find 
a list of them.  Thus - the question.

TIA!  :-)

Mark

PS: I know someone's going to say "Why do you need to do this?"  
Example:  How to get the current date/time.  Mac and Linux do it one 
way, Windows does it another.  If you want to write a function that acts 
according to a given OS - you need to know the OS.  True - there are not 
a lot of reasons to need this, but there are sometimes when you do need 
it.  :-)


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui