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

Add ReplaceWithRegister plugin #3887

Merged
merged 3 commits into from
Jul 24, 2019

Conversation

kizza
Copy link
Contributor

@kizza kizza commented Jul 12, 2019

What this PR does / why we need it

This pull request is to add the ReplaceWithRegister plugin. An easy way to replace text with the contents of a register (and quite common in my experience with vimmers)

Which issue(s) this PR fixes

Addresses issue 2660 and 3537 (ie. request for emulated ReplaceWithRegister plugin)

Special notes for your reviewer

Details are in the readme, but essentially gr becomes an operator for "go replace", followed by a motion of text to replace with the register. It's off by default.

The test patterns for this repo are very satisfying!

Keiran and others added 2 commits July 12, 2019 17:21
@jpoon jpoon merged commit 8aacdea into VSCodeVim:master Jul 24, 2019
@kizza kizza deleted the replace-with-register-extension branch July 24, 2019 06:23
stevenguh pushed a commit to stevenguh/Vim that referenced this pull request Aug 27, 2019
An easy way to replace text with the contents of a register
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants