zed
zed copied to clipboard
Delete key does not work in the editor
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
In the editor when I press the delete key it does not delete anything but works in terminal. Also works with option key which deleted complete words
Environment
MacOS latest
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.
No response
Do you per chance have "vim_mode": true
in your settings.json
file?
Yes
So you are in Vim NORMAL
mode, where you can jump around in the code, but you can't edit it - hence the delete button doesn't work. When you press i
, you are in INSERT
mode, where you can edit the text.
If you accidentally switched on the Vim mode, you can switch it off by setting "vim_mode": false
or by deleting the line completely.
Oh thankyou very much.
No problem! I'm going to close this issue because it's working as intended, but feel free to ask if you still have any questions.