Insert mode maps don't support character insertion
tenmajkl opened this issue · 3 comments
tenmajkl commented
When I have mapping vim.map("aa", "á", "insert");
and write aa
it doesn't paste á
as expected. It only erases aa
but doesn't write anything.
nightwing commented
Which version are you using, support for this was added in v6.0.14 and it works on https://raw.githack.com/replit/codemirror-vim/master/dev/web-demo.html now
tenmajkl commented
This problem happens in overleaf and its the only place I've tested it, my bad. So its probably not updated there.
nightwing commented
Indeed, they have an old version that doesn't support :normal
command too. Hopefully they will update it soon.