[IPython-dev] IPython 5.0.0 beta 1 now available !
Thomas Kluyver
takowl at gmail.com
Thu Jun 9 16:23:37 EDT 2016
On 9 June 2016 at 20:32, Aaron Meurer <asmeurer at gmail.com> 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 ;-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20160609/f89c8340/attachment.html>
More information about the IPython-dev
mailing list