diff --git a/.config/nvim/lua/plugins/configs/hydra.lua b/.config/nvim/lua/plugins/configs/hydra.lua index 50257010..ff7115d7 100644 --- a/.config/nvim/lua/plugins/configs/hydra.lua +++ b/.config/nvim/lua/plugins/configs/hydra.lua @@ -3,6 +3,12 @@ local hydra = require('hydra') -- Side Scroll hydra({ name = 'Side scroll', + config = { + { + position = 'bottom-right', + border = 'rounded', + }, + }, mode = 'n', body = 'z', heads = { @@ -90,3 +96,22 @@ hydra({ { 'q', nil, { exit = true, nowait = true } }, }, }) + +-- Hydra to repeat expanding windows +hydra({ + name = 'Window Sizing', + mode = 'n', + body = '', + config = { + { + position = 'bottom-right', + border = 'rounded', + }, + }, + heads = { + { '>', '2>' }, + { '<', '2<', { desc = '←/→' } }, + { '+', '2+' }, + { '-', '2-', { desc = '↑/↓' } }, + }, +})