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

Carl Smith carl.input at gmail.com
Sun Jul 17 21:51:35 EDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20160718/9bdf4f3d/attachment.html>


More information about the IPython-dev mailing list