Files
neovim-config/lua/taken/plugins/whichkey.lua
Taken 05e3134cc7 Moved telescope mappings to remaps file
Changed packer mapping to lua ones
2023-08-24 11:15:54 +02:00

48 lines
618 B
Lua

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",
},
l = {
name = "lazy",
},
t = {
name = "toggle",
},
v = {
name = "lsp",
},
h = {
name = "theme",
},
},
})