nvim: Fix mini mapping descriptions

This commit is contained in:
Marty Oehme 2024-03-01 10:36:35 +01:00
parent b0aabf719a
commit bbe972cfc2
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -185,13 +185,26 @@ return {
end, end,
event = "VimEnter", -- need to load pretty soon for Starter screen event = "VimEnter", -- need to load pretty soon for Starter screen
keys = { keys = {
{ "<leader>sm", ":lua MiniMap.toggle()<cr>", { silent = true, desc = "minimap" } }, {
{ "<leader>ss", ":lua MiniStarter.open()<cr>", { desc = "startpage" } }, "<leader>sm",
function()
require("mini.map").toggle()
end,
silent = true, desc = "minimap" ,
},
{
"<leader>ss",
function()
require("mini.starter").open()
end,
silent = true, desc = "startpage" ,
},
{ {
"<localleader>w", "<localleader>w",
function() function()
require("mini.trailspace").trim() require("mini.trailspace").trim()
end, end,
desc = "Trim trailing whitespace",
}, },
}, },
}, },