Trey Hunner <trey@truthful.technology> added the comment:

I got some help investigating via a Twitter thread on this topic: 
https://twitter.com/treyhunner/status/1355280273399664642

Here's more context: that combination of keys seems to put readline into vi 
mode, though it only does so in Python and not inside my system shell.

If I type start to type a line of code (say "2+2") and hit Escape and then type 
vi commands like 0 or $, the cursor will navigate to the beginning/end of the 
line as expected in vi mode.

Ctrl-Alt-L clears the screen and typing "Ctrl-A e" enters back into Emacs 
readline mode.

I can understand how "Ctrl-A v" would cause the Python REPL to enter vi mode, 
but I don't understand why "Ctrl-C Escape Enter" would cause that.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43070>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to