From 9ea82b65b9eadc21df4ca268e4770738bce7906d Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Sun, 10 Nov 2024 01:33:39 -0500 Subject: [PATCH] fix(emacs): balance windows after splitting Signed-off-by: Lucas Sta Maria --- .emacs.d/include/priime-general.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.emacs.d/include/priime-general.el b/.emacs.d/include/priime-general.el index 6aa8a2a..6093764 100644 --- a/.emacs.d/include/priime-general.el +++ b/.emacs.d/include/priime-general.el @@ -23,13 +23,15 @@ "Split the window right and move to it." (interactive) (split-window-right) - (windmove-right)) + (windmove-right) + (balance-windows)) (defun priime-split-down () "Split the window down and move to it." (interactive) (split-window-below) - (windmove-down)) + (windmove-down) + (balance-windows)) (defun priime-scroll-up () "Scroll up granularly."