Skip to content

Commit 0075cfd

Browse files
committed
fix: resolve remapping issue for the period key in vim normal mode
1 parent 4348481 commit 0075cfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/bind/vim_normal.ahk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ u::Send,^z
2121
Clipboard := bak
2222
Return
2323

24+
; period
25+
.::Send, +^{Right}{BS}^v
26+
2427
+z::Vim.State.SetMode("Z")
2528
#If Vim.IsVimGroup() and (Vim.State.IsCurrentVimMode("Z"))
2629
+z::
@@ -34,9 +37,6 @@ Return
3437
Vim.State.SetMode("Vim_Normal")
3538
Return
3639

37-
; period
38-
.::Send, +^{Right}{BS}^v
39-
4040
; Q-dir
4141
#If Vim.IsVimGroup() and WinActive("ahk_group VimQdir") and (Vim.State.Mode == "Vim_Normal")
4242
; For Q-dir, ^X mapping does not work, use !X instead.

0 commit comments

Comments
 (0)