From bdf6b6eff468b2c2fd2f10e2247192a8fc4559ba Mon Sep 17 00:00:00 2001 From: SeerLite Date: Tue, 15 Apr 2025 19:09:06 -0400 Subject: Disable keymaps when playing macro Macros are already recorded with keymaps resolved, so there's no need to resolve them again. --- src/normal.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/normal.cc b/src/normal.cc index 8a8b958d..a31957d4 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -1610,6 +1610,7 @@ void replay_macro(Context& context, NormalParams params) auto keys = parse_keys(reg_val[0]); ScopedEdition edition(context); ScopedSelectionEdition selection_edition{context}; + ScopedSetBool disable_keymaps(context.keymaps_disabled()); do { for (auto& key : keys) -- cgit v1.2.3