feat(nvim): integrate hydra & whichkey

This commit is contained in:
Price Hiller 2022-09-17 17:37:09 -05:00
parent e543f82554
commit e4c91f54a3
2 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,14 @@
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
hydra({

View File

@ -721,8 +721,8 @@ return packer.startup({
requires = {
"anuvyklack/keymap-layer.nvim",
"lewis6991/gitsigns.nvim",
"jbyuki/venn.nvim",
"folke/which-key.nvim",
},
config = function()
require("plugins.configs.hydra")