Closed bmesot closed 8 hours ago
Ran into the same issue.
You can implement a work around with the following mapping.
vim.keymap.set("i", "<YOUR_BINDING_HERE>", function()
vim.cmd("startinsert!")
vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes("<Esc>", true, true, true), 'n', false)
end, { expr = true })
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
I ran into the same issue, the issue patch fixed the problem for me.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.10.0
Operating system/version
Debian GNU/Linux trixie/sid
Describe the bug
This issue is a remake of issue 141. The mapping chars are inserted in the buffer instead of being processed in normal mode.
I managed to fix the problem by applying the following patch.
Steps To Reproduce
<c-o>
followed byzz
.zz
is written in the buffer.Expected Behavior
zz
is executed as a mapping in normal mode.Health
Log
Repro