ipython/ipython — pull request #2203 by v923z (2012-07-25 18:16:51+00:00)
Title: History navigation in notebook

Hi all,

As discussed somewhere on the mailing list (I can dig out the reference, if necessary), I implemented basic history navigation in the notebook. Shift+UpArrow or Shift+DownArrow copies the content of the previous, previous-previous, previous-previous-previous (you get the idea) cells into the current cell.

I would like to emphasize that this works on notebook cells, and not on the kernel history. My reason for this would be that first, this would work without the kernel, so one could use it when, e.g., updating documentation in the notebook, but not having access to the kernel, and second, it would be visually rather confusing, if the we were paging through the kernel history, for the kernel commands are not necessarily executed in the order given in the notebook.

Let me know, if there is interest in this feature, and what should be improved upon.
Cheers,
Zoltán