[IPython-dev] How to navigate history including multiline commands with prompt_toolkit

Nathan Goldbaum nathan12343 at gmail.com
Thu Jun 16 16:57:06 EDT 2016


Hi all,

I've been using the new IPython 5.0 beta since it was released. It's pretty
great, except for a few rough edges where I need to correct my muscle
memory that has been informed by readline.

Today I noticed that if your history includes multiline input, navigating
to older inputs can be painful, especially if your multiline inputs are
long. This asciinema illustates the issue:

https://asciinema.org/a/1qfdt9sp126quibwkeohs08bs

Is there a way to navigate to previous entries in history that is smarter
about multiline input than the up-arrow key?

Thanks!

-Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20160616/10c89577/attachment.html>


More information about the IPython-dev mailing list