Delete text selection


#1

Hi Im new to Atom and wanted to ask the following:

I have a large .txt file and it contains a lot of info/data that i dont need.
Now i want to set two specific markers and delete all the text/info in between them…is there a package/function for that?

For example, if i set the markers on the word “Conf” i want to delete all text in between the two…
MSG 3320016 STATUS: ConfR_Start
3320016 591.5 308.6 10581.0 127.0 …
3320016 591.2 308.7 10581.0 127.0 …
3320017 591.2 308.7 10630.0 127.0 …
3320017 591.2 309.0 10630.0 127.0 …
MSG 3320018 STATUS: ConfR_End

Thanks in advance and excuse me if its too straightforward :slight_smile


#2

There is the joe-keybinds package that offers this kind of “mark block” selection. I’ve never used it though, so I can’t vouch for its quality ¯\_(ツ)_/¯