From ba49339fe314ec193ccd494be80818d7ebc5a3bd Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Mon, 12 Jun 2023 17:22:01 +0200 Subject: [PATCH] feat(edgy): added LazyVim resize keymaps to edgy --- lua/lazyvim/plugins/extras/ui/edgy.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lua/lazyvim/plugins/extras/ui/edgy.lua b/lua/lazyvim/plugins/extras/ui/edgy.lua index 50406454..6bb84c78 100644 --- a/lua/lazyvim/plugins/extras/ui/edgy.lua +++ b/lua/lazyvim/plugins/extras/ui/edgy.lua @@ -90,6 +90,24 @@ return { }, "neo-tree", }, + keys = { + -- increase width + [""] = function(win) + win:resize("width", 2) + end, + -- decrease width + [""] = function(win) + win:resize("width", -2) + end, + -- increase height + [""] = function(win) + win:resize("height", 2) + end, + -- decrease height + [""] = function(win) + win:resize("height", -2) + end, + }, }, },