diff --git a/src/input_handler.cc b/src/input_handler.cc index 2cb1f379..b7b21845 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -1336,6 +1336,7 @@ void InputHandler::handle_key(Key key) if (keymaps.is_mapped(key, keymap_mode) and not m_context.keymaps_disabled()) { + ScopedSetBool disable_history{context().history_disabled()}; for (auto& k : keymaps.get_mapping(key, keymap_mode)) current_mode().handle_key(k); }