wincent / command-t

⌨️ Fast file navigation for Neovim and Vim
BSD 2-Clause "Simplified" License
2.76k stars 321 forks source link

hung when use ctrl+s #312

Closed fly542 closed 7 years ago

fly542 commented 7 years ago
  1. use \t open search window
  2. use ctrl+j select open file
  3. use ctrl+s to open selected file
  4. now hung

the terminal I used is xshell5, and operating system is centos7.1

wincent commented 7 years ago

From the docs:

If you find that <C-s> also doesn't work the most likely explanation is that
XON/XOFF flow control is enabled; this is the default in many environments.
This means that when you press <C-s> all input to the terminal is suspended
until you release it by hitting <C-q>. While input is suspended you may think
your terminal has frozen, but it hasn't.

To disable flow control, add the following to your `.zshrc` or
`.bash_profile`:

  stty -ixon -ixoff

See the `stty` man page for more details.