1
0
Fork 0
mirror of https://github.com/NotAShelf/neovim-flake.git synced 2024-12-25 16:09:49 +01:00

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; lua = true;
desc = binding.description; desc = binding.description;
}; };
mkKeymap = mode: key: action: opt: opt // {inherit mode key action;};
}; };
in in
binds binds