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

Unnamed register and a way to use it as default register for yanking operation #20703

Open
1 task done
aakashsigdel opened this issue Nov 15, 2024 · 1 comment
Open
1 task done
Labels
admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue

Comments

@aakashsigdel
Copy link

Check for existing issues

  • Completed

Describe the feature

Currently zed automatically yanks to system clipboard in vim mode when use_system_clipboard is set. The default vim behaviour is to yank it to the unnamed register.

It would be great if we could implement a setting to enable this. Something like:

{
  "vim": {
    "default_yank_register": "system_clip_board" | "unnamed" | "other_options_available"
  }
}

Environment

Zed: v0.161.2 (Zed)
OS: macOS 14.1.0
Memory: 16 GiB
Architecture: aarch64

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

No response

@aakashsigdel aakashsigdel added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Nov 15, 2024
@ConradIrwin
Copy link
Member

How is "default_yank_register": "unnamed" different from "use_system_clipboard": "never"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue
Projects
None yet
Development

No branches or pull requests

2 participants