joplin
joplin copied to clipboard
vim mode is usable only with "eng"(latin) keyboard layout
The editor in VIM mode working properly (follows vim commands) only when keyboard layout is set to English. As a result vim mode is workable only on English.
Environment
Joplin version: 2.7.15 (appimage) Platform: Linux OS specifics: Manjaro, KDE, x11
Steps to reproduce
- set to vim mode in preferences
- focus on input field of markdown editor in markdown source code mode
- having english keyboard layout press Shift+i
- Ensure that the cursor change the shape and you are in insert mode - you could enter text
- Press ESC and exit from insert mode
- Switch layout to non-latin
- Try to enter into insert mode by pressing Shift+i.
- The editor is still in command mode (you can't enter text)
Describe what you expected to happen
That default shourtcuts(shift-i, ctrl-o, etc) and commands work as if keyboard layout is set to Eng
We're using a library for ViM emulation in the editor. CodeMirror5 ViM emulation library.
This seems related to the following upstream issue: https://github.com/codemirror/codemirror5/issues/6771
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.
I get it. You don't support the library.
But instead would it be possible to add configuration ability to the module? Like .vimrc file somewhere. It's possible to work around the behavior with vim magic)
Thanks in advance
We're currently using CodeMirror5 for the editor. There is also vim emulation for CodeMirror6 (which we might eventually switch to).
The CodeMirror6 ViM emulation can be demoed here. Is the issue fixed with the CodeMirror6 version?
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, feel free to create a new issue with up-to-date information.