feat(nvim): integrate hydra & whichkey
This commit is contained in:
parent
e543f82554
commit
e4c91f54a3
@ -1,4 +1,14 @@
|
|||||||
local hydra = require("hydra")
|
local hydra = require("hydra")
|
||||||
|
local wk = require("which-key")
|
||||||
|
wk.register(
|
||||||
|
{ h = {
|
||||||
|
name = "Hydra",
|
||||||
|
o = { "Options" },
|
||||||
|
g = { "Git Signs" },
|
||||||
|
d = { "Diagram" },
|
||||||
|
} },
|
||||||
|
{ prefix = "<leader>" }
|
||||||
|
)
|
||||||
|
|
||||||
-- Side Scroll
|
-- Side Scroll
|
||||||
hydra({
|
hydra({
|
||||||
|
@ -721,8 +721,8 @@ return packer.startup({
|
|||||||
requires = {
|
requires = {
|
||||||
"anuvyklack/keymap-layer.nvim",
|
"anuvyklack/keymap-layer.nvim",
|
||||||
"lewis6991/gitsigns.nvim",
|
"lewis6991/gitsigns.nvim",
|
||||||
|
|
||||||
"jbyuki/venn.nvim",
|
"jbyuki/venn.nvim",
|
||||||
|
"folke/which-key.nvim",
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require("plugins.configs.hydra")
|
require("plugins.configs.hydra")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user