local Hydra = require "hydra" Hydra { name = "Change / Resize Window", mode = { "n" }, body = "t", config = { -- color = "pink", }, heads = { -- move between windows { "", "h", { desc = "Noot nooty" } }, { "", "j" }, { "", "k" }, { "", "l" }, -- resizing window { "H", "3<" }, { "L", "3>" }, { "K", "2+" }, { "J", "2-" }, -- equalize window sizes { "e", "=" }, -- close active window { "Q", ":q" }, { "", ":q" }, -- exit this Hydra { "q", nil, { exit = true, nowait = true } }, { ";", nil, { exit = true, nowait = true } }, { "", nil, { exit = true, nowait = true } }, }, }