From f3692dd749a6215ccbbcca04c8346186fe0359cf Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Fri, 15 Jul 2022 22:49:28 +0200 Subject: Add hydra and replace movements keybingins --- after/plugin/hydra.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 after/plugin/hydra.lua (limited to 'after/plugin') diff --git a/after/plugin/hydra.lua b/after/plugin/hydra.lua new file mode 100644 index 0000000..10c3ddb --- /dev/null +++ b/after/plugin/hydra.lua @@ -0,0 +1,21 @@ +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' }, + { '', 'h' }, + { '', 'j' }, + { '', 'k' }, + { 'L', '2>' }, + { 'H', '2<' }, + { 'J', '2-' }, + { 'K', '2+' }, + }, +}) -- cgit v1.2.3