summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.cc')
-rw-r--r--src/normal.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/normal.cc b/src/normal.cc
index f0299787..0cfd48ad 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -1457,6 +1457,7 @@ void exec_user_mappings(Context& context, NormalParams params)
return;
auto mapping = context.keymaps().get_mapping(key, KeymapMode::User);
+ ScopedSetBool disable_keymaps(context.keymaps_disabled());
ScopedEdition edition(context);
for (auto& key : mapping)
context.input_handler().handle_key(key);