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:
parent
29b7c415a9
commit
c129c53685
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue