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,
event = "VimEnter", -- need to load pretty soon for Starter screen
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",
function()
require("mini.trailspace").trim()
end,
desc = "Trim trailing whitespace",
},
},
},