lib/binds: add simpler keymap helper

This commit is contained in:
Ching Pei Yang 2024-11-17 19:31:28 +01:00
parent 29b7c415a9
commit c129c53685
No known key found for this signature in database
GPG key ID: B3841364253DC4C8

View file

@ -91,6 +91,8 @@
lua = true;
desc = binding.description;
};
mkKeymap = mode: key: action: opt: opt // {inherit mode key action;};
};
in
binds