mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-28 03:20:08 +02:00
maps: Add the remap option (#256)
This commit is contained in:
parent
45bd82602e
commit
b3ca52110f
2 changed files with 8 additions and 2 deletions
|
@ -56,7 +56,7 @@ with lib; rec {
|
|||
action = action;
|
||||
}
|
||||
else {
|
||||
inherit (action) silent expr unique noremap script nowait;
|
||||
inherit (action) silent expr unique noremap script nowait remap;
|
||||
action =
|
||||
if action.lua
|
||||
then mkRaw action.action
|
||||
|
@ -68,7 +68,7 @@ with lib; rec {
|
|||
(key: action: {
|
||||
action = action.action;
|
||||
config = lib.filterAttrs (_: v: v) {
|
||||
inherit (action) silent expr unique noremap script nowait;
|
||||
inherit (action) silent expr unique noremap script nowait remap;
|
||||
};
|
||||
key = key;
|
||||
mode = mode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue