fix(nvim): make hydra
correctly pick up keys and hints
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m29s
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m29s
This commit is contained in:
parent
2536aeb09b
commit
7dd7603af1
@ -12,6 +12,10 @@ return {
|
||||
{ "<C-w><" },
|
||||
{ "<C-w>+" },
|
||||
{ "<C-w>-" },
|
||||
{ "zl" },
|
||||
{ "zL" },
|
||||
{ "zh" },
|
||||
{ "zH" },
|
||||
},
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = function()
|
||||
@ -20,13 +24,13 @@ return {
|
||||
-- Side Scroll
|
||||
hydra({
|
||||
name = "Side scroll",
|
||||
config = {
|
||||
{
|
||||
position = "bottom-right",
|
||||
},
|
||||
},
|
||||
mode = "n",
|
||||
body = "z",
|
||||
config = {
|
||||
hint = {
|
||||
type = "window",
|
||||
},
|
||||
},
|
||||
heads = {
|
||||
{ "h", "5zh" },
|
||||
{ "l", "5zl", { desc = "←/→" } },
|
||||
@ -118,6 +122,11 @@ return {
|
||||
name = "Window Sizing",
|
||||
mode = "n",
|
||||
body = "<C-w>",
|
||||
config = {
|
||||
hint = {
|
||||
type = "window",
|
||||
},
|
||||
},
|
||||
heads = {
|
||||
{ "<", "2<C-w><" },
|
||||
{ ">", "2<C-w>>", { desc = "←/→" } },
|
||||
|
Loading…
Reference in New Issue
Block a user