ivanov / vim-ipython

A two-way integration between Vim and IPython 0.11+
http://github.com/ivanov/vim-ipython
1.04k stars 163 forks source link

Can't get The Ctrl-S command to work properly #77

Closed tinyheero closed 10 years ago

tinyheero commented 10 years ago

HI,

I've gotten through the instructions and installed ipython (v1.1.0) with zeromq support (i.e. I am able to import zmq). Running ipython console works for me too. After starting the ipython vim, I started vim (v7.4) and sourced the ipy.vim plugin and then typed :IPython and it all works fine.

I have a simply test.py file that has a import os command but I am seemingly unable to use the Ctrl-S command. However, if I enter "\S" on that line, a new window appears and then it outputs the exact output from my ipython console which appears to the buffer? When I enter stuff in my ipython console the buffer updates. But I am still seemingly unable to send additional commands from my vim. Only the import os command seems to work?

Any ideas what is going on?

Thanks,

ivanov commented 10 years ago

I suspect this is because you have not disabled flow control in your terminal. This is listed in the Known Issues, add this line to your .bashrc.

stty stop undef # to unmap ctrl-s

(Ctrl-S should work in gvim for you without any changes)

marking this as a duplicate of #49