                 winObj.Count := 0
             }
         }
-        Else
+        else
         {
             Settimer, Vim_TimeOut, Off
             ; 如果没有，按普通键输出
-            If strlen(actionName := modeObj.GetKeymap(winObj.LastKey))
+            if strlen(actionName := modeObj.GetKeymap(winObj.LastKey))
             {
                 actObj := this.GetAction(actionName)
                 __vimLastAction := {"LastKey":k, "winName":winName, "ActionName":ActionName, "KeyTemp":winObj.KeyTemp, "Count":winObj.Count}
                 actObj.Do(winObj.Count)
                 winObj.Count := 0
             }
-            Else
-            {
-                Send, % this.Convert2AHK(k, ToSend:=True)
+            else
+            {
+                Send, % this.Convert2AHK(k, ToSend := true)
                 winObj.Count := 0
             }
         }
 
         winObj.KeyTemp := ""
         winObj.HideMore()
-        ; 执行在判断热键后的函数, 如果函数返回True，按普通键输出
-        If IsFunc(f:=winObj.AfterActionDoFunc)
-        {
-            If %f%()
-                Send, % this.Convert2AHK(k, ToSend:=True)
+        ; 执行在判断热键后的函数, 如果函数返回true，按普通键输出
+        if IsFunc(f := winObj.AfterActionDoFunc)
+        {
+            if %f%()
+                Send, % this.Convert2AHK(k, ToSend := true)
             ; %f%() ;直接运行
         }
         return

        this.WinInfo    := []
        this.ActionList := []
        this.ActionFromPlugin := []
        this.ExcludeWinList :=[]
        this.winGlobal  := new __win
        this.ErrorCode  := 0
        tihs.ActionFromPluginName := ""

    }

    ; GetWin(winName) {{{2
    GetWin(winName = "")
    {
        if strlen(winName)
            return this.WinList[winName]
        else
            return this.winGlobal
    }

