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

Do not copy empty selection #22645

Open
1 task done
burrbull opened this issue Jan 4, 2025 · 2 comments
Open
1 task done

Do not copy empty selection #22645

burrbull opened this issue Jan 4, 2025 · 2 comments
Labels
editor Feedback for code editing, formatting, editor iterations, etc enhancement [core label] needs info / awaiting response Issue that needs more information from the user

Comments

@burrbull
Copy link

burrbull commented Jan 4, 2025

Check for existing issues

  • Completed

Describe the feature

Sometimes trying to paste copied text I can misclick Ctrl+C instead of Ctrl+V.
When nothing is selected zed just empties the buffer (instead of doing nothing) which other editors does not do. This is annoying.

Zed Version and System Specs

Zed: v0.167.1 (Zed)
OS: Linux X11 ubuntu 24.04
Memory: 31.1 GiB
Architecture: x86_64
GPU: Intel(R) UHD Graphics (TGL GT1) || Intel open-source Mesa driver || Mesa 24.0.9-0ubuntu0.3

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

No response

@burrbull burrbull added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Jan 4, 2025
@spotikhanov
Copy link
Contributor

Tried VSCode, it empties the buffer just as Zed does

@JosephTLyons JosephTLyons added editor Feedback for code editing, formatting, editor iterations, etc and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jan 8, 2025
@JosephTLyons
Copy link
Collaborator

Hey @burrbull, which editors are you using that do something different? I tested VS Code and Sublime and they both seem to have this behavior, but I didn't test anything further than that.

@JosephTLyons JosephTLyons added the needs info / awaiting response Issue that needs more information from the user label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor Feedback for code editing, formatting, editor iterations, etc enhancement [core label] needs info / awaiting response Issue that needs more information from the user
Projects
None yet
Development

No branches or pull requests

3 participants