Python 3.13 on a mac. Is it possible to add a key binding to IDLE to enable the editor to delete a line with a single keypress? What would the binding look like? I’m assuming I would add it to config-keys.cfg in my ~/.idlerc directory. I have saved the “IDLE Classic OSX” key bindings as “My Classic OSX”, which resides in my ~/.idlerc directory and is loaded when I run IDLE.
Thanks for the information and offer. I was hoping there was a some sort of ‘delete line’ function similar to del-word-left/del-word-right that I just didn’t know the name of (adding a del-line binding to the .def file did nothing) and that I could bind an unused key-chord to. Looks like there isn’t since you’re considering a patch that would. I appreciate the offer but I prefer to keep my third-party software pristine (it makes updates a lot easier) so I’ll just keep using the sequence cmd-left, shift-down, delete.