zed icon indicating copy to clipboard operation
zed copied to clipboard

Replace mode in Vim

Open schacon opened this issue 2 years ago • 3 comments
trafficstars

Check for existing issues

  • [X] Completed

Describe the feature

I'm having a very hard time using the vim mode, as it doesn't appear to support the replace mode.

It's pure muscle memory for me now, so I had to look up what I was even doing, but when I hit 'r' I expect the editor to go into 'replace mode' where typing will start overwriting characters. I do this so often that it makes vim mode very difficult for me to use.

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

No response

schacon avatar Oct 01 '23 08:10 schacon

Note that r appears to be supported now, which in vim means "replace the current character with whatever character is typed next.

What is not yet supported is R which is multi-character replace mode (which keeps tripping me up).

crawshaw avatar Feb 19 '24 00:02 crawshaw

@crawshaw yeah, that's what I'm doing. but it's so commonly used for me that it's very difficult to use a vim mode without it.

schacon avatar Feb 21 '24 12:02 schacon

writing a code to support that feature, and I'll commit an MR later

Kalmaegi avatar Feb 27 '24 08:02 Kalmaegi

This is merged and should land in Zed 0.128 (due to Preview on Wednesday, and stable a week later)

ConradIrwin avatar Mar 15 '24 02:03 ConradIrwin

@weartist: You've been awarded a $500 bounty by schacon! 👉 Complete your Algora onboarding to collect the bounty.

algora-pbc avatar Mar 18 '24 16:03 algora-pbc

🎉🎈 @weartist has been awarded $500 by @schacon! 🎈🎊

algora-pbc avatar Mar 19 '24 11:03 algora-pbc