aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-20 13:28:27 -0500
committerCraig Jennings <c@cjennings.net>2025-10-20 13:28:27 -0500
commit63e7c3ba87c9d07bf9a4a56e3a702f44581dcb89 (patch)
tree35f6e70903c9c3e1f5fa12ba0556b6c231c2bc7e /modules
parentcfdfbefd1144e29a225a30a92d2f1824f17d69a5 (diff)
downloaddotemacs-63e7c3ba87c9d07bf9a4a56e3a702f44581dcb89.tar.gz
dotemacs-63e7c3ba87c9d07bf9a4a56e3a702f44581dcb89.zip
docs: modeline: Update commentary for performance optimizations
Add detailed explanations regarding performance optimizations in Doom modeline settings. This includes prioritizing speed by disabling minor features and tuning performance with specific settings such as refresh rate and process output size.
Diffstat (limited to 'modules')
-rw-r--r--modules/modeline-config.el22
1 files changed, 21 insertions, 1 deletions
diff --git a/modules/modeline-config.el b/modules/modeline-config.el
index 2e6ed6e61..0a247732a 100644
--- a/modules/modeline-config.el
+++ b/modules/modeline-config.el
@@ -3,6 +3,26 @@
;;; Commentary:
+;; Doom modeline configuration with performance optimizations.
+
+;; Settings prioritize speed while keeping essential information including:
+;; - relative file paths from project root
+;; - column number and percentage position
+;; - buffer modification indicators
+;; - and major mode with icon.
+
+;; Disabled features for performance:
+;; - minor modes display
+;; - word count
+;; - encoding info
+;; - LSP information
+
+;; Performance tuning includes:
+;; - 0.75 second refresh rate
+;; - 1MB process output chunks
+;; - nerd-icons (faster than all-the-icons)
+;; - simplified checker format
+;; - limited VCS info length
;;; Code:
@@ -47,9 +67,9 @@
(doom-modeline-buffer-name t) ;; Show buffer name
(doom-modeline-buffer-file-name t) ;; Show file name
:config
+ (setq read-process-output-max (* 1024 1024)) ;; 1MB process read size for better performance
(setq doom-modeline-refresh-rate 0.75)) ;; Update rate in seconds
-;; (setq read-process-output-max (* 1024 1024)) ;; 1MB process read size for better performance
(provide 'modeline-config)
;;; modeline-config.el ends here