zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
48.05k stars 2.84k forks source link

Ctrl + \` increases the character count #5195

Open aclementev opened 1 year ago

aclementev commented 1 year ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Typing Ctrl + ` in the editor increases the character count (or moves the internal cursor position) while visually no character appears on the screen.

In the attached screenshot I pressed the combination 30 times, and each time the count increased by 1.

This could be related to zed-industries/zed#5196 , since the key combination should be the one that opens the Terminal.

Expected behavior

Either some character should appear or the character count should not increase (or the cursor should not move).

Environment

Zed 0.59.0 – /Applications/Zed.app
macOS 12.5.1
architecture arm64

If applicable, add mockups / screenshots to help explain present your vision of the feature

image

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue

No response

maxbrunsfeld commented 1 year ago

What keyboard layout are you using? What does that key combination do for you in other in TextEdit.app?

aclementev commented 1 year ago

The keyboard layout is "Spanish".

image

On TextEdit.app I don't see any effect either.

Hug0-Drelon commented 3 months ago

I experience the same issue with a "French" layout. Also, it prevents the default shortcut "ctrl+`" to open the terminal.

jon301 commented 1 month ago

Also, it prevents the default shortcut "ctrl+`" to open the terminal.

Experiencing this too

What keyboard layout are you using?

French layout (azerty)

What does that key combination do for you in other in TextEdit.app?

https://github.com/user-attachments/assets/fd3d7524-5b54-490a-8220-5d140ee6ed19