Do you accidentally press Ctrl+s to try and save? That tells the terminal to stop sending text (eg if a long command output was scrolling by). Try Ctrl+q to fix it next time it happens.
It is entirely possible. I'll have to be more cognizant next time it happens and catch myself if that's the case.
Re:Vim Anti-Patterns (2012)
by fiddlerwoaroof on Monday March 18, 2019 @12:52AM
(#19418755)
I believe this fixes that behavior while vi is open: https://github.com/fiddlerwoaroof/dotfiles/blob/master/zsh/z...
Newer versions of Nano actually do save the file on CTRL+S.
One problem I've found with vim is some weird character buffer thing happens where my text stops displaying or something. I've never investigated it but its probably SSH itself.