diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-11-10 21:24:47 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-11-10 21:24:47 +0000 |
| commit | 217dd6a1de9aae487955826fe0ca8f17eff8483d (patch) | |
| tree | e606240f0f379ef213b042cb9a1158e73d76f7cb /src/input_handler.cc | |
| parent | a0bcdd83df6d279f22042915266b53e70e80c140 (diff) | |
Disable history when executing maps
Fixes #476
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 1 |
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); } |
