From 22d04ff9681536c692609f95bfbbde5219596b75 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 18 Sep 2022 22:45:39 -0400 Subject: [PATCH] Remove tabs (bad performance :() --- doom.d/config.el | 10 ++-------- doom.d/config.org | 14 ++++---------- doom.d/init.el | 1 - 3 files changed, 6 insertions(+), 19 deletions(-) diff --git a/doom.d/config.el b/doom.d/config.el index e41cf5c..ab97800 100644 --- a/doom.d/config.el +++ b/doom.d/config.el @@ -84,14 +84,8 @@ ;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how ;; they are implemented. -(use-package! centaur-tabs - :config - (setq centaur-tabs-set-icons t - centaur-tabs-set-bar 'underflow - centaur-tabs-style "wave" - centaur-tabs-enable-key-bindings t) - (centaur-tabs-headline-match) - (centaur-tabs-group-by-projectile-project)) +(after! gcmh + (setq gcmh-high-cons-threshold (* 64 1024 1024))) (use-package! mixed-pitch :hook diff --git a/doom.d/config.org b/doom.d/config.org index e48bf93..c798fa3 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -95,18 +95,12 @@ The provided default ~config.el~ ;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how ;; they are implemented. #+end_src -* Appearance and UI -** Centaur tabs +** Garbage collector configuration #+begin_src emacs-lisp -(use-package! centaur-tabs - :config - (setq centaur-tabs-set-icons t - centaur-tabs-set-bar 'underflow - centaur-tabs-style "wave" - centaur-tabs-enable-key-bindings t) - (centaur-tabs-headline-match) - (centaur-tabs-group-by-projectile-project)) +(after! gcmh + (setq gcmh-high-cons-threshold (* 64 1024 1024))) #+end_src +* Appearance and UI ** Mixed Pitch Mode Use mixed pitch mode in prose writing modes, to make the writing experience a bit more pleasant. This tweak applies to: diff --git a/doom.d/init.el b/doom.d/init.el index bd596b4..1316ba8 100644 --- a/doom.d/init.el +++ b/doom.d/init.el @@ -27,7 +27,6 @@ modeline ; snazzy, Atom-inspired modeline, plus API nav-flash ; blink cursor line after big motions (popup +defaults) ; tame sudden yet inevitable temporary windows - tabs ; a tab bar for Emacs (treemacs +lsp) ; a project drawer, like neotree but cooler unicode ; extended unicode support for various languages window-select ; visually switch windows