fix(keys): operator

This commit is contained in:
Folke Lemaitre 2023-01-03 11:17:37 +01:00
parent cdb998c6fe
commit 2e3e65b0f7
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ function M.retrigger(keys)
c = type(c) == "number" and vim.fn.nr2char(c) or c
pending = pending .. c
end
local op = vim.v.operator
if op and op ~= "" then
keys = "<esc>" .. op .. keys
end