[Idle-dev] Idle key bindings

Hernan Martinez Foffani hernan@orgmf.com.ar
Thu, 23 Aug 2001 21:05:46 +0200


Charlie Paxton
> 
> idle-dev,
> Is it possible to change the unix key bindings in Idle?
> I'd like to change to windows key bindings on my linux machine.

Yes.
Just edit the file {PYTHONPATH}/Tools/Idle/keydefs.py
The convention there is very straightforward.
Look for unix_keydefs dictionary in that file and edit
it carefully. :-)
But I don't know if you can rebind everything you want. There's
a chance that some key combinations are caught by the OS before
they reach Idle...

-Hernan