Re-add whichkey; remove tpipeline
This commit is contained in:
parent
6226776f8e
commit
167534d65f
@ -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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
return {
|
|
||||||
{
|
|
||||||
'vimpostor/vim-tpipeline'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
42
.config/nvim/lua/plugins/whichkey.lua
Normal file
42
.config/nvim/lua/plugins/whichkey.lua
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user