diff --git a/lua/lazy/core/handler/keys.lua b/lua/lazy/core/handler/keys.lua index 815fcbb..e2020d1 100644 --- a/lua/lazy/core/handler/keys.lua +++ b/lua/lazy/core/handler/keys.lua @@ -128,6 +128,9 @@ function M:_add(keys) self:_set(keys, buf) end + if keys.mode:sub(-1) == 'a' then + lhs = lhs .. '' + end local feed = vim.api.nvim_replace_termcodes("" .. lhs, true, true, true) -- insert instead of append the lhs vim.api.nvim_feedkeys(feed, "i", false)