The mouse can be enabled for different modes: (xterm, MS-DOS, Win32 |win32-mouse|, QNX pterm, *BSD console with
'mouse' string (default '', 'a' for GUI, MS-DOS and Win32)Įnable the use of the mouse. This includes copy paste using mouse buttons. When enabling the mouse, the mouse buttons can still be used by keeping the shift key pressed. Look at Note section at the bottom of the reference: I am also using tmux most of the time, though, I tested this error/bug without a tmux session, thats why I posted this mainly as a vim question. I did try :set mouse! and :set mouse=a! but these did nothing useful.
Though, is it possible to make my copy paste with other applications that are not in vim not to break with the mouse=a on? Or is it at least possible to set my mouse off while I do the copy paste? I did :help mouse but the comments were not useful for me. I think this happened when I decided to set my mouse on in the terminal. However, when I try doing it, it only copies the first word when I do it from vim or when I copy from the application to vim, it copies everything, but inserts strange tabs and spaces. I was trying to copy paste something from vim to another application and also, from that application to vim using right click with mouse and then copy and paste (or with Ctrl+ v and Ctrl+ c and also tried the Command version for mac OSX, obviously.).