Moving to lazy nvim

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-08-22 14:51:21 +02:00
parent 128bf12422
commit ce905b45fb
30 changed files with 221 additions and 159 deletions

View File

@@ -0,0 +1,47 @@
local status, whichkey = pcall(require, "which-key")
if not status then
return
end
whichkey.setup({
key_labels = {
["<leader>"] = "SPC",
["<space>"] = "SPC",
["<cr>"] = "RET",
["<Tab>"] = "TAB",
},
icons = {
breadcrumb = "»",
separator = "",
group = "",
}
})
whichkey.register({
["<leader>"] = {
w = {
name = "window",
},
f = {
name = "find",
},
b = {
name = "buffer",
},
g = {
name = "git",
},
p = {
name = "packer",
},
t = {
name = "toggle",
},
v = {
name = "lsp",
},
h = {
name = "theme",
},
},
})