Skip to content
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

Delete key does not work in the editor #11713

Closed
1 task done
ErrolFernandes opened this issue May 11, 2024 · 5 comments
Closed
1 task done

Delete key does not work in the editor #11713

ErrolFernandes opened this issue May 11, 2024 · 5 comments
Labels
defect [core label] editor Feedback for code editing, formatting, editor iterations, etc

Comments

@ErrolFernandes
Copy link

Check for existing issues

  • 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

@ErrolFernandes ErrolFernandes added admin read Pending admin review defect [core label] triage Maintainer needs to classify the issue labels May 11, 2024
@Moshyfawn
Copy link
Contributor

Do you per chance have "vim_mode": true in your settings.json file?

@Moshyfawn Moshyfawn added editor Feedback for code editing, formatting, editor iterations, etc needs info / awaiting response Issue that needs more information from the user and removed triage Maintainer needs to classify the issue labels May 12, 2024
@ErrolFernandes
Copy link
Author

Yes

@Moshyfawn
Copy link
Contributor

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.

@ErrolFernandes
Copy link
Author

Oh thankyou very much.

@Moshyfawn
Copy link
Contributor

Moshyfawn commented May 12, 2024

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.

@Moshyfawn Moshyfawn removed the needs info / awaiting response Issue that needs more information from the user label May 12, 2024
@JosephTLyons JosephTLyons removed the admin read Pending admin review label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect [core label] editor Feedback for code editing, formatting, editor iterations, etc
Projects
None yet
Development

No branches or pull requests

3 participants