Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

[SUGGESTION] Sed-like edit for quickly editing a small section of a large message. #8

Open
Ampflower opened this issue Jun 25, 2022 · 0 comments
Assignees

Comments

@Ampflower
Copy link
Member

Describe your feature
pf;edit requiring you to copy the entire message to edit a small portion can be annoying, especially with markdown involved. Something like sed could allow for editing a small portion like a typo without having to copy the entire message.

Describe the solution you'd like
Something like sed, either implmented as replace word/phrase of old: new:, or as sed normally would be, to edit a small bit of text.

Describe alternatives you've considered
Aside leaving as is, there's no real alternative that could be put in place.
This doesn't have to literally implement sed however; any text replacement should be sufficient.

Additional context
Consider editing the following:

The quick brown fox juimps over the lazy dog

If it was implemented literally as sed, pf;sed s/juimps/jumps would be sufficient to edit it to:

The quick brown fox jumps over the lazy dog

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants