-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Characters needing AltGr
don't work in normal mode
#12
Comments
I found the issue. The problem is that both |
Does it work if you add AltGr to ignoredKeys at codemirror-vim/src/cm_adapter.ts Line 74 in a2d37a0
|
Yes, it does. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Vim mode, keyboard shortcuts such as
fx
,tx
,vix
don’t work ifx
is a character that requires pressingAltGr
, such as{[]}€@\
on the German keyboard layout.Downstream Bug report: https://forum.obsidian.md/t/vim-mode-shortcuts-involving-altgr-dont-work/36211
I can reproduce the bug in both Firefox and Chromium on Linux in the playground: https://codemirror-vim--util.repl.co/
The behaviour is different for each key. For
{
it jumps a paragraph up, for[
it activates the first of two[[
presses, on the second it jumps to the top of the document. For|
, it goes to the beginning of the line.The text was updated successfully, but these errors were encountered: