fix(emacs): balance windows after splitting
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
f2561834a8
commit
9ea82b65b9
1 changed files with 4 additions and 2 deletions
|
@ -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."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue