nvim: Fix mini mapping descriptions
This commit is contained in:
parent
b0aabf719a
commit
bbe972cfc2
1 changed files with 15 additions and 2 deletions
|
@ -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",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue