Re: IPython 5.0.0 beta 1 now available !
Aaron Meurer <[email protected]> Thu, 9 Jun 2016 16:49:06 -0400
| Newsgroups | gmane.comp.python.ipython.devel |
|---|---|
| Message-ID | <CAKgW=6JhGHcW0VkSqPA_PYybtDgvLR61y7cgUpaTek3z4mVVhA@mail.gmail.com> |
I set that to False, but it seems there's more to it, because sometimes it gets stuck on an autocompletion and the arrow keys cycle through that instead. Related issue I just discovered: sometimes the tab completion gets "stuck", and the only way to unstick it seems to be to type left arrow. For instance, say I type import IPy<TAB> which then completes to import IPython then I try to press Enter. But it is stuck on a completion popup (with only one entry). Pressing TAB again to select the one completion doesn't help. Aaron Meurer On Thu, Jun 9, 2016 at 4:23 PM, Thomas Kluyver <[email protected]> wrote: > On 9 June 2016 at 20:32, Aaron Meurer <[email protected]> wrote: >> >> OK, my question for IPython 5: how can I make up arrow show the >> previous entry (assuming the cursor is at the top of a multiline >> input)? Right now up-arrow shows the most recent entry that starts >> with the text that is already typed. I managed to change this for the >> current version of IPython (I think by deleting the parse and bind of >> the arrows to history-search-backward from the default configuration >> file). > > > Oh yes, I enabled that by default because I find it so useful that it annoys > me when I ssh to computers where bash isn't configured to do it. > > The parameter we pass to prompt_toolkit is here: > > https://github.com/ipython/ipython/blob/f16c803ccf7a047849c3fa36182bb5c730b5919b/IPython/terminal/ptshell.py#L272 > > It's not currently configurable, so I sense a PR in your future ;-) > > _______________________________________________ > IPython-dev mailing list > [email protected] > https://mail.scipy.org/mailman/listinfo/ipython-dev >