Skip to content

ed-style editing? #4143

Answered by Omnikar
askreet asked this question in Ideas
Oct 7, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

These sorts of commands conflict with the design goal of seeing the text you act on before you act on it. For this request in particular, you can do this:

  1. Select the file (%)
  2. Split selection into lines (A-s)
  3. Deselect selections matching regex (A-K) and type your pattern into the prompt
  4. Delete selections (d)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@askreet
Comment options

Answer selected by askreet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants