aboutsummaryrefslogtreecommitdiffstats
path: root/oni/packages/emacs.scm
diff options
context:
space:
mode:
Diffstat (limited to 'oni/packages/emacs.scm')
-rw-r--r--oni/packages/emacs.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/oni/packages/emacs.scm b/oni/packages/emacs.scm
index 9d488e4..ad6ee92 100644
--- a/oni/packages/emacs.scm
+++ b/oni/packages/emacs.scm
@@ -444,3 +444,31 @@ new-theme for a while. I couldn't think of a name so I named it after him.")
(description
"This package provides an Emacs-based interface to the Notmuch mail
system.")))
+
+(define-public emacs-golden-ratio
+ (let ((commit "375c9f287dfad68829582c1e0a67d0c18119dab9")
+ (revision "0"))
+ (package
+ (name "emacs-golden-ratio")
+ (version (git-version "1.0.0" revision commit))
+ (source
+ (origin
+ (uri (git-reference
+ (url "https://github.com/roman/golden-ratio.el.git")
+ (commit commit)))
+ (method git-fetch)
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0a635a3h6jx0clgwmhwc48i14y3xy5q29y37lp2sjnbxx1hlmkli"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/roman/golden-ratio.el")
+ (synopsis "Automatic resizing of Emacs windows to the golden ratio")
+ (description "When working with many windows at the same time, each window has a size that is
+not convenient for editing.
+
+golden-ratio helps on this issue by resizing automatically the windows you are
+working on to the size specified in the \"Golden Ratio\". The window that has
+the main focus will have the perfect size for editing, while the ones that are
+not being actively edited will be re-sized to a smaller size that doesn't get in
+the way, but at the same time will be readable enough to know it's content.")
+ (license license:expat))))