Seems like a market opportunity here for an app that makes all of this work in a sensible way. Difficulty may be in making it possible to integrate into the target users' idiosyncratic editor+Linux tools setups though. And convincing said users to pay for something instead of hacking config files and scripts.
Also, you can only have one thing working correctly: tmux scrolling (mouse mode) or copying.