diff options
author | Martin Polden <mpolden@mpolden.no> | 2020-01-18 10:05:57 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2020-01-18 10:05:57 +0100 |
commit | 030eddb5bfc56097795a39fdcff409c0af5b43ab (patch) | |
tree | 89eab4b85c2ebdbe923072d89596442f6dcfa7d2 /lisp/init-mac.el | |
parent | a68e2ea6eb3298f6b6293d69bc6be964362c8a5d (diff) |
Change font
JetBrains Mono is narrower than Input Mono, giving more horizontal space.
Diffstat (limited to 'lisp/init-mac.el')
-rw-r--r-- | lisp/init-mac.el | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/lisp/init-mac.el b/lisp/init-mac.el index f296d67..bea63f1 100644 --- a/lisp/init-mac.el +++ b/lisp/init-mac.el @@ -1,18 +1,9 @@ -;; use input font if available -;; https://input.fontbureau.com -(let ((font-family "Input Mono")) +;; use jetbrains mono font if available +;; https://www.jetbrains.com/lp/mono/ +(let ((font-family "JetBrains Mono")) (when (and (display-graphic-p) (member font-family (font-family-list))) (set-face-attribute 'default nil :family font-family) - (set-face-attribute 'default nil :height 140) - - ;; input font at 14 pt may result in (window-total-width) being exactly 160, - ;; or (window-total-height) being exactly 80, which makes sensible splitting - ;; less sensible - ;; - ;; adjust thresholds so that vertical splits are still preferred in most - ;; cases - (setq split-width-threshold 150 - split-height-threshold 90))) + (set-face-attribute 'default nil :height 140))) ;; configure modifiers (setq mac-option-modifier 'super) |