-
Notifications
You must be signed in to change notification settings - Fork 3k
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
vim: support named registers #11511
Comments
I don't believe Zed has any concept of vim registers at all. I have seen mention of them here and there (not sure why that got marked completed actually), but don't know that there is a tracking issue for them. I'd love to see some form of register support as a single copy/paste slot has been limiting. |
Not having registers is quite a big problem for me because the |
Looks like #1507 shouldn't have been closed. Retitling this to make it clearer it's a feature request. If anyone would like to pair with me on this, feel free to book time: https://calendly.com/conradirwin/pairing. cc @Zachiah who mentioned he'd like to take a go at this. |
This is currently my most-missed feature of Zed's vim support. I find myself reflexively trying to use registers, which does not work. In particular, if I've highlighted the region, then type |
Please we need the registers feature... help Zed team. |
Fixed by #12895. There are some more obscure registers that are not yet supported, but please open separate issues if you need those for your workflow. |
Thank you |
Release Notes: - vim: Add support for register selection `"a`-`"z`, `"0`-`"9`, `"-`. `"_` and `"%` ([zed-industries#11511](zed-industries#11511)) --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Release Notes: - vim: Add support for register selection `"a`-`"z`, `"0`-`"9`, `"-`. `"_` and `"%` ([zed-industries#11511](zed-industries#11511)) --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Description
Edit: Zed vim does not support named registers. Named registers currently read and write from the primary clipboard -- the same one as
⌘C
/⌘V
ory
/p
.A previous issue about vim registers was incorrectly closed: #1507
(Originalish text): In vim, pasting from the default register copies the overwritten value to the default register.
viwywviwp
replace cat w/ bat. Now register is "cat" (egwviwp
replaces "data" with "cat").Named registers should not do this. They should keep the value.
viw"aywviw"ap
replace cat w/ bat. Now register "a" should remain "bat" (egwviw"ap
should replace "data" with "bat").Zed vim appears to overwrite the register on paste.
The text was updated successfully, but these errors were encountered: