Hi,
I am writing a script and I only want to work on one platform Windows
(because I am accessing a project over a samba share and want to be
able to edit it from both Windows and Ubuntu).
I am setting up a project-specific .vimrc in the directory, so that I
can control my makeprg.

If I'm editing on linux, I'd like it to just use the default make, but
if I'm on Windows, I want it to run a script which opens plink,
connects to the server and executes make.
The last part I already have working just fine (it even pipes back the
output from make/gcc perfectly), as a global setting for my gvim on
windows, but this is less than ideal for working on muliple projects,
thus the local version of .vimrc (as recommended in
http://www.vim.org/htmldoc/starting.html#initialization).

So what's the best way of finding what platform you are on in vim? I
know I can do it using one of the scripting interfaces, but what about
in normal vimscript?

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

Reply via email to