vim freezes inside tmux
Solution 1:
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.
Solution 2:
For me, this turned out to be a gpm problem. Run:
sudo service gym restart
See here for the related bug.