gh-121746: Bind Alt+Enter to "accept" in the REPL (GH-121754)

This commit is contained in:
Rodrigo Girão Serrão 2024-07-15 19:47:56 +02:00 committed by GitHub
parent 74fbdcd74a
commit 6522f0e438
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -130,7 +130,7 @@ default_keymap: tuple[tuple[KeySpec, CommandName], ...] = tuple(
(r"\M-7", "digit-arg"),
(r"\M-8", "digit-arg"),
(r"\M-9", "digit-arg"),
# (r'\M-\n', 'insert-nl'),
(r"\M-\n", "accept"),
("\\\\", "self-insert"),
(r"\x1b[200~", "enable_bracketed_paste"),
(r"\x1b[201~", "disable_bracketed_paste"),

View File

@ -1670,6 +1670,7 @@ Fred Sells
Jiwon Seo
Iñigo Serna
Joakim Sernbrant
Rodrigo Girão Serrão
Roger D. Serwy
Jerry Seutter
Pete Sevander