Re-add whichkey; remove tpipeline

This commit is contained in:
Andreas Tsouchlos 2024-04-04 15:38:40 +02:00
parent 6226776f8e
commit 167534d65f
3 changed files with 42 additions and 20 deletions

View File

@ -1,15 +0,0 @@
return {
{
"folke/which-key.nvim",
event = "VeryLazy",
init = function()
vim.o.timeout = true
vim.o.timeoutlen = 300
end,
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
}
}
}

View File

@ -1,5 +0,0 @@
return {
{
'vimpostor/vim-tpipeline'
}
}

View File

@ -0,0 +1,42 @@
return {
{
"folke/which-key.nvim",
event = "VeryLazy",
init = function()
vim.o.timeout = true
vim.o.timeoutlen = 300
end,
opts = {
defaults = {
["<leader>x"] = {
name = "+Trouble"
}
}
},
config = function()
local wk = require("which-key")
wk.register({
["<leader>"] = {
l = {
name = "+LSP"
},
x = {
name = "+Trouble"
},
o = {
name = "+Overseer"
},
d = {
name = "+Debug"
},
f = {
name = "+Find"
},
s = {
name = "+Session"
},
}
})
end
}
}