vim: deactivate visualmode

Some linux distributions have vim's visualmode automatically been activated on mouse interaction. If you want to get rid of this:

touch ~/.vimrc
echo "set mouse-=a" > ~/.vimrc
source ~/.vimrc

Source: https://gist.github.com/u0d7i/01f78999feff1e2a8361#gistcomment-2698694