]> Dogcows Code - chaz/vimcoder/blobdiff - src/com/dogcows/VimCoder.java
better default preferences for win32
[chaz/vimcoder] / src / com / dogcows / VimCoder.java
index 89da76e3757aea92c8b662dbd5f6f6494259e65c..e684746d9db73be189573310995694269c06ec4b 100644 (file)
@@ -28,7 +28,7 @@ public class VimCoder
     /**
      * The name and version of this plugin.
      */
-    public final static String     version = "VimCoder 0.1";
+    public final static String     version = "VimCoder 0.2";
     
     /**
      * The website of the plugin project.
@@ -44,7 +44,16 @@ public class VimCoder
     /**
      * The path to the main VimCoder directory.
      */
-    private static File     rootDir = new File("~/.vimcoder");
+    private static File     rootDir;
+    static
+    {
+        if (System.getProperty("os.name").toLowerCase().equals("win"))
+        {
+            vimCommand = "C:\\WINDOWS\\gvim.bat";
+        }
+        rootDir = new File(System.getProperty("user.home") +
+                           System.getProperty("file.separator") + ".vimcoder");
+    }
     
     
     /**
This page took 0.017648 seconds and 4 git commands to generate.