On the subject of copy pasting, does anyone else use the browser's address bar as a quick way to get rid of line breaks? Ideally, I would prefer a less janky way but I do it too infrequently to justify a dedicated program.
Back when I used Windows I used AutoHotKey to do things like stripping formatting, removing line breaks, or whatever I found myself wanting to do frequently. It’s an extra program, but not dedicated to that one feature, I had it doing all kinds of stuff over time.
HammerSpoon on macOS can likely do some similar stuff, but not as powerful, in my limited use of it.
I’m not sure if there is something similar for Linux, I assume so.