diff options
author | Martin Polden <mpolden@mpolden.no> | 2018-05-14 11:09:44 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2018-05-14 11:09:44 +0200 |
commit | ca06928a9d6018c5aa973660ebe4aecc3bff5ee8 (patch) | |
tree | 145c15428e28d4c312ae3e38257287e7489a3f00 /lisp/init-mac.el | |
parent | 2e912c99b9249f1ef9c86c0cba2c2db7e17784f8 (diff) |
Make window splitting sensible again
Diffstat (limited to 'lisp/init-mac.el')
-rw-r--r-- | lisp/init-mac.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/init-mac.el b/lisp/init-mac.el index 6108439..1dd67c2 100644 --- a/lisp/init-mac.el +++ b/lisp/init-mac.el @@ -35,7 +35,14 @@ )) (dolist (char-regexp alist) (set-char-table-range composition-function-table (car char-regexp) - `([,(cdr char-regexp) 0 font-shape-gstring])))))) + `([,(cdr char-regexp) 0 font-shape-gstring]))))) + + ;; fira code retina at 14 pt may result in (window-total-height) being exactly + ;; 80 which makes sensible splitting less sensible + ;; + ;; increment split-height-threshold so that vertical splits are still + ;; preferred in most cases + (setq split-height-threshold (1+ split-height-threshold))) ;; configure modifiers (setq mac-option-modifier 'super) |