[IPython-dev] Please read: IPython Notebook UI goes modal
Zoltán Vörös
zvoros at gmail.com
Sat Jan 11 17:41:09 EST 2014
Hi Brian,
>> 3. Selecting the previous/next cell has now two shortcuts, up/down and j/k.
>> About a year ago, we had a discussion about navigation in the kernel
>> history, and the problem that time was that we couldn't find two keyboard
>> keys that would work on all OSs. (Here is the link:
>> https://github.com/ipython/ipython/pull/2203) Since the modal structure
>> effective increases the number of available keys, I was wondering, whether
>> it would make sense to return this question now. One could then assign j/k
>> to history navigation, and the up/down arrows could navigate in the
>> notebook. I can look into the implementation, if that's OK.
> A few points on this:
>
> * We absolutely need to keep the up and down arrows working for select
> next/prev. Users not trained on j/k - most of our users that is - will
> intuitively use the arrow keys. If those don't work, we will get much
> frustration aimed in our direction.
> * The reason we added j/k as a second pair of next/prev shortcuts is
> that they are much more efficient to type and our advanced users (vim,
> gmail, etc.) are already used to them.
Fair enough.
> I am -1 on changing these, but there are now a whole lot of other
> keyboard shortcuts free that could be used for history navigation.
> Also, everything is customizable now.
So, you are -1 on changing j/k and up/down, but not on the
implementation of the history navigation, aren't you? If that is the
case, I will try to dust off the code that I have from the old
discussion on github, and once that works, we can decide on the shortcut.
Cheers,
Zoltán
More information about the IPython-dev
mailing list