One problem here is that I'm holding out hope the notebook will eventually have a good way of supporting vim/emacs style keyboard shortcuts (at least to the extent a readline-enabled terminal app does) and making escape do something special from IPython's point of view would present a serious obstacle to good vim support.<div>
<br></div><div>Of course it might just not be possible to get vimmy behavior into the notebook.<br><br>Michael<br><br><div class="gmail_quote">2012/1/22 Fernando Perez <span dir="ltr"><<a href="mailto:fperez.net@gmail.com">fperez.net@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div class="gmail_quote">2012/1/22 Zoltán Vörös <span dir="ltr"><<a href="mailto:zvoros@gmail.com" target="_blank">zvoros@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><blockquote type="cite"><pre>Are you asking for logic that does:
if cell 0 selected:
scroll_to_top
if cell -1 selected:
scroll to bottom
I think I could add that but I would like to understand the problem a
bit better first.
</pre>
</blockquote></div>
I think this would be cool, but perhaps others should add their
voice to this. Others might want it otherwise. </blockquote></div><br></div>The problem is that if the last cell is longer than the screen, then scroll to bottom might be too far, no?<br><br>Actually I just realized one thing that may be easy to change, and that would help *a lot*: if we could make Escape lose keyboard focus and gain 'cell focus', then it would be much easier to page up/down in a notebook. Right now page up/down scroll very fast, but only if you have selected a whole cell and are not focused inside the cell; it's a little tricky to reach that state with the mouse (you have to click the cell outline). But if Esc gave you that, I think most of my scrolling gripes would go away:<br>
<br>- type type type...<br>- Want to scroll up or down? Esc.<br>- page up....<br>- read what I need<br>- page down...<br>- Enter<br>- back to editing.<br><br>This would be fast and fluid, and would not require the mouse at all.<br>
<br>Cheers,<br><br>f<br>
<br>_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
<br></blockquote></div><br></div>