local ok, hydra = pcall(require, "hydra") if not ok then return end -- Windows management, move and resize hydra({ name = "windows", mode = "n", body = "", heads = { { "l", "l" }, { "h", "h" }, { "j", "j" }, { "k", "k" }, { "q", "q" }, { "o", "o" }, { "L", "2>" }, { "H", "2<" }, { "J", "2-" }, { "K", "2+" }, { "", "L" }, { "", "H" }, { "", "J" }, { "", "K" }, { "=", "=" }, }, }) -- want a way to run make commands -- Make commands runs good but the output is not good -- like up I like that is done and good hydra({ name = "make", mode = "n", body = "", heads = { { "t", function() vim.cmd("vsplit term://make test") end }, { "v", function() vim.cmd('vert new') vim.fn.termopen("make vars") vim.cmd('startinsert') end }, }, })