How to navigate history including multiline commands with prompt_toolkit

Nathan Goldbaum <[email protected]> Thu, 16 Jun 2016 15:57:06 -0500
Newsgroups gmane.comp.python.ipython.devel
Message-ID <CAJXewOmN8U9e6ZLwzjN4zmwt54BLQJmLqKg1PO+F7Y9VryCdrg@mail.gmail.com>
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

_______________________________________________
IPython-dev mailing list
[email protected]
https://mail.scipy.org/mailman/listinfo/ipython-dev