OK, I don't know if there's already such a shortcut in the Qt console, but if there isn't, it's probably reasonable for us to add one.<br><div class="gmail_extra"><br><br><div class="gmail_quote">On 20 November 2012 10:49, klo uo <span dir="ltr"><<a href="mailto:klonuo@gmail.com" target="_blank">klonuo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Forgot to mention - it's Qt Console. Terminal I think displays just one line at a time, and does not list history with multiline snippets.<br>
<br>I expect that chances are low that such shortcut exist, but as I still don't know Linux terminal shortcuts, I thought maybe there are chances that some key combination can jump to the beginning of snippet in mentioned scenario.<br>
<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Nov 20, 2012 at 11:35 AM, Thomas Kluyver <span dir="ltr"><<a href="mailto:takowl@gmail.com" target="_blank">takowl@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div class="gmail_extra"><div><div class="gmail_quote">On 20 November 2012 09:22, klo uo <span dir="ltr"><<a href="mailto:klonuo@gmail.com" target="_blank">klonuo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>While browsing through IPython history with up/down arrows, I see last lines/snippets history. Let's consider current history item is snippet with 10 lines. Now, in this "history" mode, I can press Ctrl+End and cursor will change it's position from first line to end of the code block, but pressing Ctrl+Home will not get cursor to the first line of current snippet, but to the beginning of current session. So obviously previous Ctrl+End just positions cursor to the end of current session, which in this scenario is history item.<br>
</div></blockquote></div><br></div>Is this in the terminal, or the Qt console? In the terminal, we have very limited control over things like shortcuts.<span><font color="#888888"><br><br>Thomas<br></font></span></div>
<br></div></div>_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org" target="_blank">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>
<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>