summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-13 21:13:07 +0000
committernoa@gaiwan.org2024-06-13 21:13:07 +0000
commitdcf3bd49a0928de2e4afe4967089796e4993a25a (patch)
tree78a3363da1318a312e69c16904fcd26bae303a4d /emacs/init.el
parent0f508efd36408fb16625b117e5470975e749f76c (diff)
Add ibuffer to fixed-width modes
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el28
1 files changed, 12 insertions, 16 deletions
diff --git a/emacs/init.el b/emacs/init.el
index cd82267..5b07cb7 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -996,22 +996,18 @@ and when JID is not in `jabber-activity-banned'."
 )
 
 (use-package fixed-pitch
-	:custom
-	(fixed-pitch-dont-change-cursor t)
-	(fixed-pitch-blacklist-hooks '(
-		prog-mode-hook
-		comint-mode-hook
-	))
-	(fixed-pitch-whitelist-hooks '(
-		calendar-mode-hook
-		dired-mode-hook
-		magit-mode-hook
-		profiler-report-mode-hook
-		which-key-init-buffer-hook
-		jabber-roster-mode-hook
-		mu4e-headers-mode-hook
-	))
-)
+  :custom
+  (fixed-pitch-dont-change-cursor t)
+  (fixed-pitch-blacklist-hooks '(prog-mode-hook
+                                 comint-mode-hook))
+  (fixed-pitch-whitelist-hooks '(calendar-mode-hook
+                                 dired-mode-hook
+                                 ibuffer-mode-hook
+		                 magit-mode-hook
+		                 profiler-report-mode-hook
+		                 which-key-init-buffer-hook
+		                 jabber-roster-mode-hook
+		                 mu4e-headers-mode-hook)))
 
 ;; My current favourite font is sn pro, which feels like comic sans for grown ups.  It's friendly but consistent and well thought out.  However, it's also a proportional font, which obviously is the right way to do things, but emacs is very old and comes from a time before the innovation of legibility.  As a result, there are some things that require a monospaced font, so i set one here.  I chose go mono for two reasons: the first is because i think it looks really nice; the second is because it has serifs and is very visually distinct from sn pro, so i can notice and shame those buffers which require a fixed width font to operate properly.
 (custom-set-faces