1
0
Fork 0

fix(emacs): balance windows after splitting

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-11-10 01:33:39 -05:00
parent f2561834a8
commit 9ea82b65b9
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -23,13 +23,15 @@
"Split the window right and move to it." "Split the window right and move to it."
(interactive) (interactive)
(split-window-right) (split-window-right)
(windmove-right)) (windmove-right)
(balance-windows))
(defun priime-split-down () (defun priime-split-down ()
"Split the window down and move to it." "Split the window down and move to it."
(interactive) (interactive)
(split-window-below) (split-window-below)
(windmove-down)) (windmove-down)
(balance-windows))
(defun priime-scroll-up () (defun priime-scroll-up ()
"Scroll up granularly." "Scroll up granularly."