public static void AddSaveFileHistory(string path)
    {
        List <string> list = VimModeInfoWindow.GetSaveFileHistory();

        if (list.Contains(path))
        {
            list.Remove(path);
            list.Insert(0, path);
        }
        else
        {
            if (list.Count >= 30)
            {
                list.RemoveAt(list.Count);
            }
            list.Insert(0, path);
        }

        string saveString = "";

        for (int i = 0; i < list.Count; i++)
        {
            if (i != 0)
            {
                saveString += "\n";
            }
            saveString += list[i];
        }
        PlayerPrefs.SetString("vim_unite", saveString);
    }
    public static void VimOpen()
    {
        Debug.Log("VimOpen");
        if (PlayerPrefs.HasKey("vim_unite") == false)
        {
            PlayerPrefs.SetString("vim_unite", "");
        }

        List <string> list = VimModeInfoWindow.GetSaveFileHistory();

        foreach (var val in Selection.assetGUIDs)
        {
            var path = AssetDatabase.GUIDToAssetPath(val);
            if (path.Contains(".cs"))
            {
                path = path.Replace("/", "\\");
                System.Diagnostics.Process.Start("MonoDevelop.exe", path);
                //			System.Diagnostics.Process.Start("C:\\yamashita\\github\\GVIM\\vim73\\win32\\gvim.exe", "--remote-tab-silent " + path);
                VimModeInfoWindow.AddSaveFileHistory(path);
            }
            else if (path.Contains(".unity"))
            {
                EditorSceneManager.SaveOpenScenes();
                EditorSceneManager.OpenScene(path, OpenSceneMode.Single);
                VimModeInfoWindow.AddSaveFileHistory(path);
            }

            Debug.Log(path);
//			Process.Start("MonoDevelop.exe", "C:\\yamashita\\github\\hakusura\\Assets\\Editor\\VimModeInfoWindow.cs");
        }
    }
    public static void VimSceneView()
    {
        UnityEngine.Debug.Log("VimSceneView");
        if (PlayerPrefs.HasKey("vim_unite") == false)
        {
            PlayerPrefs.SetString("vim_unite", "");
        }

        if (scene == null)
        {
            scene = EditorWindow.GetWindow <VimModeInfoWindow>();
            scene.Show();
        }
        else
        {
            scene.Close();
            scene = null;
        }
    }