amber
amber copied to clipboard
Add support to delete entire line
sometimes, instead of wanting to replace a text with another, I want to delete the entire line of a matched value. Adding support to this would be great!
Thank you for your proposal. Does this mean "delete line" command support in interactive replacing like below?
$ ambr test test2
./benches/path_finder.rs: #![feature(test)]
Replace keyword? [Y]es/[n]o/[a]ll/[d]elete line/[q]uit:
I was thinking more on the first match only, something like this:
ambr test --delete-line
If the intention is to delete the whole line, I don't think there should be a need to add the test2 argument.