mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 06:29:47 +01:00
lib/binds: add simpler keymap helper
This commit is contained in:
parent
29b7c415a9
commit
c129c53685
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,8 @@
|
|||
lua = true;
|
||||
desc = binding.description;
|
||||
};
|
||||
|
||||
mkKeymap = mode: key: action: opt: opt // {inherit mode key action;};
|
||||
};
|
||||
in
|
||||
binds
|
||||
|
|
Loading…
Reference in a new issue