replit/codemirror-vim

Insert mode maps don't support character insertion

tenmajkl opened this issue · 3 comments

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.

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

This problem happens in overleaf and its the only place I've tested it, my bad. So its probably not updated there.

Indeed, they have an old version that doesn't support :normal command too. Hopefully they will update it soon.