vim freezes inside tmux
You might have hit Ctrl+S, which turns off flow control in terminals and stops the terminal from accepting input. It is reenabled by pressing Ctrl+Q.
For me, this turned out to be a gpm problem. Run:
sudo service gym restart
See here for the related bug.