Bash timeout and copying text in vimMar 14, 2013 · 1 minute read
I have been working with a server that had been configured differently from the way that I prefer.
The two biggest complaints that I had about it were that the timeout was set very low, meaning that the connection would break off every five minutes, and that vim had been set up so if you selected text using the mouse you could not copy it.
The solutions to these two problems are as follows.
You can tell the terminal not to timeout with the following command
Be aware that this will only work for the terminal that you are working with.
The issue with vim is that the mouse was triggering visual mode.
To get round this hold down shift when selecting text and everything will work as expected