From f9e8dfdee0afaf4a13baabc99dd93d4e21eb00dd Mon Sep 17 00:00:00 2001 From: rcmdnk Date: Sun, 29 Sep 2024 00:10:15 +0900 Subject: [PATCH] fix: resolve remapping issue for the period key in vim normal mode --- lib/bind/vim_normal.ahk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/bind/vim_normal.ahk b/lib/bind/vim_normal.ahk index 04739796..6694de84 100644 --- a/lib/bind/vim_normal.ahk +++ b/lib/bind/vim_normal.ahk @@ -21,6 +21,9 @@ u::Send,^z Clipboard := bak Return +; period +.::Send, +^{Right}{BS}^v + +z::Vim.State.SetMode("Z") #If Vim.IsVimGroup() and (Vim.State.IsCurrentVimMode("Z")) +z:: @@ -34,9 +37,6 @@ Return Vim.State.SetMode("Vim_Normal") Return -; period -.::Send, +^{Right}{BS}^v - ; Q-dir #If Vim.IsVimGroup() and WinActive("ahk_group VimQdir") and (Vim.State.Mode == "Vim_Normal") ; For Q-dir, ^X mapping does not work, use !X instead.