diff options
Diffstat (limited to 'Lib/_pyrepl/reader.py')
-rw-r--r-- | Lib/_pyrepl/reader.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/_pyrepl/reader.py b/Lib/_pyrepl/reader.py index d15a150..2c8c9e7 100644 --- a/Lib/_pyrepl/reader.py +++ b/Lib/_pyrepl/reader.py @@ -136,7 +136,9 @@ default_keymap: tuple[tuple[KeySpec, CommandName], ...] = tuple( (r"\<up>", "up"), (r"\<down>", "down"), (r"\<left>", "left"), + (r"\C-\<left>", "backward-word"), (r"\<right>", "right"), + (r"\C-\<right>", "forward-word"), (r"\<delete>", "delete"), (r"\<backspace>", "backspace"), (r"\M-\<backspace>", "backward-kill-word"), |