-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
vim: QWERTZ keyboard breaks ^ to move to begin of the line #19738
Comments
Works just fine for me. Do you happen to use a different keyboard layout? On US keyboards, for instance, the caret character is on the number row (Number 6). In some keyboard layouts, it's either positioned in the home row, or can be a combining character, which will not immediately send a key press to the program as it awaits another key press, in this case you would need to input the caret symbol and then press enter. As far as I know, Zed adapts to the keyboard layout instead of using scan codes, similarly to Vim. |
Yeah, this sounds like a keyboard layout thing. |
Yes a standard macbook M3 german keyboard.
Yes i thought the same, vim and neovim work out of the box, with this keyboard layout, zed for some reason couldn't figure it out. Any idea how to debug it further? |
How to type ^ on german layout? |
I assume that this key is a dead key? As someone from China, I'm not familiar with dead keys, so I have a few questions:
|
Hey @JunkuiZhang, thank you for your help!
No, I just press the key on the top left (as depicted in the image) and it works
I just use the |
Thanks for reporting, this is a bug, and I'll add it to the list for revamping as part of #17031 |
Do you also only need to press the |
In Vim, and in Zed, in insert mode, just pressing |
Interesting, so I guess macOS handle this differently from Windows. BTW, I'm gonna buy an ISO german keyboard for testing, dose the keyboard look the same with the one you are using? And is the left-bottom |
Yes
Yes! "strg" means "Steuerung" which translates to "Control" |
Great, thanks! |
Check for existing issues
Describe the bug / provide steps to reproduce it
I am on vim mode, and pressing
^
don't move the cursor to the first word of the line as expected, and works on vim/nvim. I can fallback pressing0
, but i want to understand if it's a problem on my environment or bug.Environment
Zed: v0.158.2 (Zed)
OS: macOS 14.4.0
Memory: 36 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
No response
The text was updated successfully, but these errors were encountered: