Surround with quotes does not work when using a keyboard layout that uses dead keys #13838
Open
1 task done
Labels
defect
[core label]
internationalization
Feedback for human language support, translations, etc
keymap / key binding
Feedback for keyboard shortcuts, key mapping, etc
Check for existing issues
Describe the bug / provide steps to reproduce it
I'm using an ANSI US keyboard but with the language set to pt-BR. pt-BR uses dead keys, meaning that if I want to output a single quote
'
I need to press and release the'
key, then press and release<space>
. If I select an entire string and press the sequence of keys to output'
, I expect that the editor surrounds the selection in single quotes, but instead it just replaces the selection with''
. This does not happen when using a language that does not use dead keys for outputting quotes, like en-US, as shown in the demo.Screen.Recording.2024-07-04.at.16.21.24.mov
Environment
Zed: v0.142.4 (Zed)
OS: macOS 14.5.0
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.Zed.log
The text was updated successfully, but these errors were encountered: