Diminish and org

This commit contains some documentation for org config file, adds org-roam-ui,
diminish mode to clear up the modeline along with some configuration and
commentary on diminish mode.
This commit is contained in:
2025-04-18 19:34:39 +09:00
parent 2d42287f34
commit 02a86ef9b0
3 changed files with 42 additions and 0 deletions

View File

@@ -30,6 +30,19 @@
(compile-angel-on-load-mode)
(add-hook 'emacs-lisp-mode-hook #'compile-angel-on-save-local-mode))
;; Diminish allows us to clear up our modeline
(use-package diminish
:ensure t)
;; Since diminish was loaded after compile-angel, we cannot use the use-package
;; integration to diminish it. So, we do it manually here.
(diminish 'compile-angel-on-save-local-mode)
(diminish 'compile-angel-on-load-mode)
;; Since I did not explicitly install it, I cannot use the use-package
;; integration to deminish eldoc either. So I do it explicitly here.
(diminish 'eldoc-mode)
;; Load the configs from plug-in files.
(let ((config-dir (concat minimal-emacs-user-directory ".config.d")))
(if (not (file-exists-p config-dir))