> is when I accidentally click in the terminal, which was going to mess me up with any editor.
Well, most terminal editors don’t capture the mouse at all — this is what I personally prefer (let the terminal emulator handle it) and as a bonus it fixes this problem.