Resize window when golden-ratio is enabled via <SPC> t g

This commit is contained in:
syl20bnr 2014-11-04 21:44:49 -05:00
parent 917c115638
commit 3fb503c2b6

View file

@ -1160,7 +1160,8 @@ DELETE-FUNC when calling CALLBACK.
(interactive)
(if (symbol-value golden-ratio-mode)
(progn (golden-ratio-mode -1)(balance-windows))
(golden-ratio-mode)))
(golden-ratio-mode)
(golden-ratio)))
(evil-leader/set-key "tg" 'spacemacs/toggle-golden-ratio))
:config
(progn