You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd love to see support for the vim script ReplaceWithRegister (github mirror, vim.org) .
According to the readme:
Replacing an existing text with the contents of a register is a very common
task during editing. One typically first deletes the existing text via the
d, D or dd commands, then pastes the register with p or P. Most of
the time, the unnamed register is involved, with the following pitfall: If you
forget to delete into the black-hole register ("_), the replacement text is
overwritten!
This plugin offers a two-in-one command that replaces text covered by a
{motion}, entire line(s) or the current selection with the contents of a
register; the old text is deleted into the black-hole register, i.e. it's
gone. (But of course, the command can be easily undone.)
I first encounterede this as a VSCode plugin and quickly became very used to having it ready. It replaced my previous workflow of making a visual selection and then pasting with the added bonus that it didn't overwrite the copy register.
Oh, my bad. I'm sure I looked for this, but must've missed that there was already an issue for it. Thanks for sorting them out and for hearing me out 🙌🏼
As for the pairing: that sounds tempting, but timewise it might be a little difficult. How long do the sessions usually go for? 30 min?
Check for existing issues
Describe the feature
I'd love to see support for the vim script
ReplaceWithRegister
(github mirror, vim.org) .According to the readme:
I first encounterede this as a VSCode plugin and quickly became very used to having it ready. It replaced my previous workflow of making a visual selection and then pasting with the added bonus that it didn't overwrite the copy register.
Zed Version and System Specs
Zed: v0.167.1 (Zed)
OS: macOS 14.6.1
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: