Re: How can I detect the OS?

2006-04-26 Thread Frank Terbeck
Eddy Petri??or <[EMAIL PROTECTED]>: > Is there a way to detect the OS on which Vim is running? Hello Eddy, take a look at :help feature-list There are features like amiga, beos, unix and others, which correspond to the currently running version of vim. Regards, Frank

Re: How can I detect the OS?

2006-04-26 Thread James Vega
On Wed, Apr 26, 2006 at 02:34:02PM +0300, Eddy Petrişor wrote: > Hello, > > Is there a way to detect the OS on which Vim is running? You can use has() and the list of features under ":help feature-list" to determine what type of Vim (and therefore under which OS is running). if has('win32')

How can I detect the OS?

2006-04-26 Thread Eddy Petrişor
Hello, Is there a way to detect the OS on which Vim is running? -- Regards, EddyP = "Imagination is more important than knowledge" A.Einstein