plugins/misc: adapt to new maps options

This commit is contained in:
Gaetan Lepage 2023-09-15 14:35:13 +02:00 committed by Gaétan Lepage
parent 574fb73258
commit dd6a114e52
18 changed files with 262 additions and 193 deletions

View file

@ -140,6 +140,12 @@
};
"71" = {
maps.normal."<leader>hb" = "<cmd>lua require('gitsigns').blame_line{full=true}<cr>";
keymaps = [
{
mode = "n";
key = "<leader>hb";
action = "<cmd>lua require('gitsigns').blame_line{full=true}<cr>";
}
];
};
}

View file

@ -38,9 +38,13 @@
{
key = ",";
action = "<cmd>echo \"test\"<cr>";
}
{
mode = ["n" "s"];
};
};
key = "<C-p>";
action = "<cmd>echo \"test\"<cr>";
}
];
};
mkMaps = {

View file

@ -87,6 +87,6 @@
};
};
# Simple mapping with only Description
maps.normal."ff".desc = "Test";
maps.byMode.normal."ff".options.desc = "Test";
};
}