[IPython-User] Hotkeys notebook cell editing

Matthias BUSSONNIER bussonniermatthias@gmail....
Sat Sep 29 14:28:03 CDT 2012

Le 29 sept. 2012 à 21:15, Juergen Hasch a écrit :

> (Posted by mistake to IPython-dev first)
This is not an issue :-)

> Hi,
> when working with the HMTL notebook, I noticed that is is hard to
> quickly navigate when editing a cell, as Page up/down Pos1 and End keys
> only work inside the current cell. Jumping between cells requires the
> mouse. I find this especially annoying, because outside of code cells
> (no cell selected or a markdown cell), the keys work as is usual in the
> browser.
> Am I missing something or how do you navigate when working with notebooks ?

No you are not missing anything, shortcut are a delicate subject  for notebook especially 
if we try to get cross os/browser compatibility. We are still thinking of a way to make it easily configurable.

We also thinking of a 'modal' way of moving (like vim) where esc would make the cell selected, on where you
could move from cell to cell with arrow keys and cut past full cells....etc.

In the mean time, I suggest you put what you wrote also somewhere in the ipython wiki.


> I changed codecell.js and notebook.js and put them in my local
> profile/static/js directoy. Now Page up/down moves me one cell up or
> down and Ctrl+Pos1/End jumps to top/bottom, which I find quite pleasant
> to work with.
>    Juergen
> My changes can be found here:
> https://github.com/juhasch/ipython/compare/cell-hotkeys
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user

More information about the IPython-User mailing list