[IPython-dev] Making the cursor wrap around on the ends of lines.

Thomas Kluyver takowl at gmail.com
Mon Jul 18 06:01:31 EDT 2016


Rather than duplicating this between xonsh and IPython, maybe we should try
to push it upstream to prompt_toolkit?

On 18 July 2016 at 02:51, Carl Smith <carl.input at gmail.com> wrote:

> While looking for more info on PT keybinding, I came across some xonsh
> code which makes the cursor wrap around when you navigate off the start or
> end of a line, like most GUI editors do. The original code is here:
>
> http://xon.sh/_modules/xonsh/ptk/key_bindings.html
>
> There's an IPython startup file (as a gist) here that does the same thing
> for IPython 5:
>
> https://gist.github.com/carlsmith/3cb2340bbfbdfcbdd579a948717af997
>
> It seems like something that should just be enabled at all times, but
> maybe someone else would prefer the current behaviour. Would anyone want
> this to be configurable?
>
> Cheers,
>
> -- Carl Smith
> carl.input at gmail.com
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> https://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20160718/71e2f0cb/attachment.html>


More information about the IPython-dev mailing list