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

Matthias Bussonnier bussonniermatthias at gmail.com
Thu Jun 16 17:07:30 EDT 2016


pageup/pagedown (fn-up, fn-down) directly select next/previous in history.

-- 
M

On Thu, Jun 16, 2016 at 1:57 PM, Nathan Goldbaum <nathan12343 at gmail.com> wrote:
> 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
> IPython-dev at scipy.org
> https://mail.scipy.org/mailman/listinfo/ipython-dev
>



More information about the IPython-dev mailing list