diff options
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/.emacs.d/init.org | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 6931dc0..c8ac3df 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -973,3 +973,19 @@ This includes cape for extra completion-at-point functions, and corfu-prescient (use-package corfu-prescient :hook (corfu-mode)) #+end_src + +* Golden Ratio + +This package automatically adjusts your window sized to follow the golden ratio, so that the focused one is always the biggest. + +#+begin_src emacs-lisp + (use-package golden-ratio + :init + (golden-ratio-mode) + :config + (with-eval-after-load 'ace-window + (advice-add 'ace-window :after #'golden-ratio)) + (add-to-list 'golden-ratio-exclude-modes 'calculator-mode)) +#+end_src + +This configuration adds advice after the =ace-window= command to make sure that switching with it still properly configures the window sizes. |
