格式化配置help.lua

This commit is contained in:
LingZhaoHui 2024-06-20 00:48:06 +08:00
parent 1ed88eaaca
commit 38cf6c0a78
Signed by: zeekling
GPG Key ID: D96E4E75267CA2CC

View File

@ -13,12 +13,12 @@ return {
name = "Buffer",
p = { "<cmd>BufferLineCyclePrev<cr>", "Go to pre buffer" },
n = { "<cmd>BufferLineCycleNext<cr>", "Go to next buffer" },
d={"<cmd>bd<cr>", "delete current buffer"}
d = { "<cmd>bd<cr>", "delete current buffer" },
},
d = {
name = "dirTree",
s = { "<cmd>NvimTreeToggle<cr>", "show dir tree on left" },
c={"<cmd>NvimTreeClose<cr>", "hidden dir tree on left"}
c = { "<cmd>NvimTreeClose<cr>", "hidden dir tree on left" },
},
f = {
name = "Search,Format",
@ -29,7 +29,7 @@ return {
g = { "<cmd>Telescope live_grep<cr>", "Grep in files" },
b = { "<cmd>Telescope buffers<cr>", "Grep in buffer" },
},
f={"<cmd>Format<cr>", "Code Format"}
f = { "<cmd>Format<cr>", "Code Format" },
},
l = {
name = "Lazy",
@ -42,14 +42,14 @@ return {
k = {
name = "Markdown",
s = { "<cmd>MarkdownPreview<cr>", "MarkdownPreview" },
c={"<cmd>MarkdownPreviewStop<cr>", "MarkdownPreviewStop"}
}
c = { "<cmd>MarkdownPreviewStop<cr>", "MarkdownPreviewStop" },
},
},
v = {
name = "version",
v = { "<cmd>version<cr>", "neovim version" },
},
}
},
}, { silent = true, noremap = true })
wk.setup()
end,