Keymap: support for reading/writing keymaps as data
Instead of running code to create a keymap, store them as data. This allows for keymaps to share content as well as running transformations at load time.
This commit is contained in:
@@ -405,3 +405,10 @@ def keyconfig_test(kc):
|
||||
if testEntry(kc, entry):
|
||||
result = True
|
||||
return result
|
||||
|
||||
# Note, we may eventually replace existing logic with this
|
||||
# so key configs are always data.
|
||||
from .keyconfig_utils_experimental import (
|
||||
keyconfig_export_as_data,
|
||||
keyconfig_import_from_data,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user