I have a file with the following:
a
b
b
c
And I need to find all duplicates and remove them, so it should be like this:
a
c
The command "edit > permute lines > unique" wouldn't delete all the occurrences. Any suggestions? Thank you!
Try: "edit -> sort lines" then "edit -> permute lines -> unique"
Select some text and press Ctrl + D to add more instances. Then press delete to remove. Read more feature at Sublime text doc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With