We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d34a02d commit 2ab6518Copy full SHA for 2ab6518
lua/lazy/core/handler/keys.lua
@@ -10,7 +10,15 @@ function M:_add(keys)
10
vim.keymap.del("n", keys)
11
Util.track({ keys = keys })
12
Loader.load(self.active[keys], { keys = keys })
13
- local feed = vim.api.nvim_replace_termcodes(keys, true, false, true)
+ local extra = ""
14
+ while true do
15
+ local c = vim.fn.getchar(0)
16
+ if c == 0 then
17
+ break
18
+ end
19
+ extra = extra .. vim.fn.nr2char(c)
20
21
+ local feed = vim.api.nvim_replace_termcodes(keys .. extra, true, true, true)
22
vim.api.nvim_feedkeys(feed, "m", false)
23
Util.track()
24
end, { silent = true })
0 commit comments