1

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?

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

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

2
  • 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
    Sep 12 '18 at 1:19
  • I've been wondering how neovim is different than vim, thanks for sharing!
    – tlehman
    Sep 12 '18 at 2:16

Not the answer you're looking for? Browse other questions tagged or ask your own question.