mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-29 10:02:57 +03:00
parent
b53f1271a2
commit
dca9bccc6a
@ -1457,6 +1457,7 @@ void exec_user_mappings(Context& context, NormalParams params)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
auto mapping = context.keymaps().get_mapping(key, KeymapMode::User);
|
auto mapping = context.keymaps().get_mapping(key, KeymapMode::User);
|
||||||
|
ScopedSetBool disable_keymaps(context.keymaps_disabled());
|
||||||
ScopedEdition edition(context);
|
ScopedEdition edition(context);
|
||||||
for (auto& key : mapping)
|
for (auto& key : mapping)
|
||||||
context.input_handler().handle_key(key);
|
context.input_handler().handle_key(key);
|
||||||
|
Loading…
Reference in New Issue
Block a user