I have already
set mouse= and
set ttymouse= but I still get it intercepting paste when I'm trying to paste vim commands, like I want it to do some kind of complex
:map! .... so I copy that from another window and paste it in vim, and instead of having it execute the command it inserts the text at mouse pointer position.
It also pastes the text at the mouse pointer position instead of at the cursor position.
I don't want vim interacting with X11 at all, I want it to act like any other text mode program running in a terminal window or over ssh.
Running: vim 8.1 on Raspberry pi.