X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fvimcoder;a=blobdiff_plain;f=src%2Fcom%2Fdogcows%2FVimCoder.java;h=e684746d9db73be189573310995694269c06ec4b;hp=89da76e3757aea92c8b662dbd5f6f6494259e65c;hb=16dcee64f6db922b5f56ac06e0ac6739b95658bb;hpb=d5c3685fc4d454fee9b42436c56c2fd18b17a029 diff --git a/src/com/dogcows/VimCoder.java b/src/com/dogcows/VimCoder.java index 89da76e..e684746 100644 --- a/src/com/dogcows/VimCoder.java +++ b/src/com/dogcows/VimCoder.java @@ -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"); + } /**