summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc1
1 files changed, 1 insertions, 0 deletions
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);
}