Re: Making the cursor wrap around on the ends of lines.

Thomas Kluyver <[email protected]> Mon, 18 Jul 2016 11:01:31 +0100
Newsgroups gmane.comp.python.ipython.devel
Message-ID <CAOvn4qi+GeWSDCGRD2ekGd6TYMWk9L5obKzSgB1tvkdZpWTnrg@mail.gmail.com>
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 <[email protected]> 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
> [email protected]
>
> _______________________________________________
> IPython-dev mailing list
> [email protected]
> https://mail.scipy.org/mailman/listinfo/ipython-dev
>
>

_______________________________________________
IPython-dev mailing list
[email protected]
https://mail.scipy.org/mailman/listinfo/ipython-dev