diff --git a/IPython/terminal/shortcuts.py b/IPython/terminal/shortcuts.py index e84fd7e..5c32b08 100644 --- a/IPython/terminal/shortcuts.py +++ b/IPython/terminal/shortcuts.py @@ -58,7 +58,7 @@ def register_ipython_shortcuts(registry, shell): registry.add_binding(Keys.ControlO, filter=(HasFocus(DEFAULT_BUFFER) - & insert_mode))(newline_with_copy_margin) + & EmacsInsertMode()))(newline_with_copy_margin) if shell.display_completions == 'readlinelike': registry.add_binding(Keys.ControlI,