Skip to content

Commit a834b30

Browse files
committed
fix(keys): forward count to keymaps. Fixes #252
1 parent a59cd08 commit a834b30

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/lazy/core/handler/keys.lua

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ function M.retrigger(keys)
2525
pending = pending .. c
2626
end
2727
local feed = vim.api.nvim_replace_termcodes(keys, true, false, true) .. pending
28+
if vim.v.count ~= 0 then
29+
feed = vim.v.count .. feed
30+
end
2831
vim.api.nvim_feedkeys(feed, "m", false)
2932
end
3033

0 commit comments

Comments
 (0)