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,
|
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",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue