-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tab completion stops working #6271
Comments
I think this must be something in readline itself, if up and down arrows stop behaving as expected. There's no callback we get for going through history with the up and down arrows, that's all handled by readline using history we've previously given it. |
Well, I figured out one way I can replicate this behavior. Type any character then 'e' and hit up. E.g., if I wanted to autocomplete an
Then tab completion stops. Same if I do.
It doesn't seem to happen if |
|
As another data point, it doesn't happen when I comment out |
For anyone who comes across this, by some miracle I finally found a "fix" to move from emacs mode back to vi-mode in IPython. I don't yet understand how I get dropped in to emacs mode in the first place and this only happens in ipython, but a "M-C-j" drops me back in to vi-mode (on OSX). Link |
This has gotten to be enough of a headache that I'd like to get to the bottom of it, using the regular IPython interpreter
Tab-completion randomly stops working for me. The other symptom is that the up arrow just scrolls through the history instead of filtering on what's already typed at the prompt.
Unfortunately, I can't reproduce it deterministically. Often it happens after I
%paste
some code in, but that's not the only time. I've noticed this (maybe) after I changed my.inputrc
, so perhaps I'm hitting some odd key combination without realizing it?.inputrc
in-lined below.Is there something I can instrument or somewhere I can insert a debug statement to help figure this out?
The text was updated successfully, but these errors were encountered: