Skip to content

Commit

Permalink
fix: resolve remapping issue for the period key in vim normal mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmdnk committed Sep 29, 2024
1 parent 4348481 commit 0075cfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/bind/vim_normal.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand All @@ -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.
Expand Down

0 comments on commit 0075cfd

Please sign in to comment.