:map stopped working with non asci characters.
Please Review Before Posting!
- [ ] Codemirror with link https://codemirror-vim--util.repl.co doesn't open.
- [x] I'm reasonably sure that this bug is related to the Vimrc file support and not a general Vim in Obsidian issue. If it's a general Vim issue, report it here.
Describe the Bug
Every map function stopped working with non-ASCII characters, including special characters like №.
To Reproduce
Steps to reproduce the behavior:
- Add the following mappings to your
.vimrcfile:inoremap № # vnoremap № # inoremap ё ` vnoremap ё ` inoremap Ё ~ vnoremap Ё ~ - Try using the mappings in the Vimrc plugin.
- Notice that the mappings no longer work.
Expected Behavior
Mappings for non-ASCII characters, like № or Cyrillic characters such as ё and Ё, should function as they did previously.
Environment
- OS: Windows 11
- Vimrc Plugin Version: 0.10.2
Additional Context
-
Mappings involving ASCII characters and special characters from a standard US keyboard layout still work correctly.
Example::map @ #This mapping functions as expected.
-
The issue appears to specifically affect non-ASCII characters and those outside the standard US keyboard layout.
It looks like this PR in codemirror-vim -> (https://github.com/replit/codemirror-vim/pull/198/commits/832a695b119e45d4158be6bd6b73aa44409d62fe) from the day before you submitted this issue is likely attempting to resolve the reason why you are experiencing this problem.