I use emacs a lot, and type C-x s to save there. When I am in vim running inside tmux on a remote machine, if I accidentally type C-x s, the vim instance completely freezes up, and the only way out is to send tmux the kill-pane command.

How can I configure vim/tmux to block this from happening?

  • Are you in Insert mode at the time?
    – JdeBP
    Commented Sep 11, 2018 at 18:06
  • I've checked, it freezes vim in insert mode as well as command mode
    – tlehman
    Commented Sep 11, 2018 at 18:07
  • 3
    are you typing control+s ? that can freeze terminals until control+q is pressed
    – thrig
    Commented Sep 11, 2018 at 18:26

1 Answer 1


@thrig answered my question, I can type C-q to get out of the frozen state I was in. Thank you!

  • This is an interesting difference between VIM and NeoVIM. NeoVIM's raw mode turns off flow control special character processing in the line discipline. VIM's leaves it on.
    – JdeBP
    Commented Sep 12, 2018 at 1:19
  • I've been wondering how neovim is different than vim, thanks for sharing!
    – tlehman
    Commented Sep 12, 2018 at 2:16

Not the answer you're looking for? Browse other questions tagged .