diff --git a/src/commands.cc b/src/commands.cc index 31066967..ddba6d61 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -687,6 +687,7 @@ void exec_keys(const KeyList& keys, Context& context) new_context.change_ui(batch_ui); while (batch_ui.has_key_left()) batch_client.handle_next_input(new_context); + context.change_editor(new_context.editor()); } void exec_string(const CommandParameters& params, Context& context)