Python – How to get Emacs’ key bindings in Python’s IDLE

emacsidekeyboardpython

I use Emacs primarily for coding Python but sometimes I use IDLE. Is there a way to change the key bindings easily in IDLE to match Emacs?

Best Solution

IDLE provides Emacs keybindings without having to install other software.

  1. Open up the menu item Options -> Configure IDLE...
  2. Go to Keys tab
  3. In the drop down menu on the right side of the dialog change the select to "IDLE Classic Unix"

It's not the true emacs key bindings but you get the basics like movement, saving/opening, ...