From 887da037c2d52c5e370a30d638e6b17db512b2b1 2023-04-28 08:24:27 From: Matthias Bussonnier Date: 2023-04-28 08:24:27 Subject: [PATCH] Backport PR #14027 on branch 8.12.x (Resume hinting on right arrow press by default) (#14042) Backport PR #14027: Resume hinting on right arrow press by default --- diff --git a/IPython/terminal/shortcuts/__init__.py b/IPython/terminal/shortcuts/__init__.py index 8189326..3a39ac3 100644 --- a/IPython/terminal/shortcuts/__init__.py +++ b/IPython/terminal/shortcuts/__init__.py @@ -277,10 +277,7 @@ AUTO_SUGGEST_BINDINGS = [ Binding( auto_suggest.resume_hinting, ["right"], - # For now this binding is inactive (the filter includes `never`). - # TODO: remove `never` if we reach a consensus in #13991 - # TODO: use `emacs_like_insert_mode` once #13991 is in - "never & default_buffer_focused & ((vi_insert_mode & ebivim) | emacs_insert_mode)", + "default_buffer_focused & emacs_like_insert_mode", ), ]