mirror of https://github.com/sgoudham/dotfiles.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
857 B
Lua
32 lines
857 B
Lua
2 years ago
|
return {
|
||
|
{
|
||
|
"folke/which-key.nvim",
|
||
|
config = function()
|
||
|
local wk = require("which-key")
|
||
|
wk.setup({
|
||
|
window = {
|
||
|
border = "rounded",
|
||
|
},
|
||
|
})
|
||
|
|
||
|
wk.register({
|
||
|
g = { name = "Go to" },
|
||
|
["]"] = { name = "Next" },
|
||
|
["["] = { name = "Previous" },
|
||
|
})
|
||
|
|
||
|
wk.register({
|
||
|
c = { name = "Code" },
|
||
|
f = { name = "Find" },
|
||
|
g = { name = "Git" },
|
||
|
j = { name = "Jump" },
|
||
|
l = { name = "LSP" },
|
||
|
o = { name = "Open" },
|
||
|
s = { name = "Search" },
|
||
|
t = { name = "Tasks" },
|
||
|
x = { name = "Debug" },
|
||
|
}, { prefix = "<leader>" })
|
||
|
end,
|
||
|
},
|
||
|
}
|