summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/modeline-config.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/modeline-config.el b/modules/modeline-config.el
index a5e23dd0..6573671a 100644
--- a/modules/modeline-config.el
+++ b/modules/modeline-config.el
@@ -22,7 +22,9 @@
;; -------------------------- Modeline Configuration --------------------------
;; Use Emacs 30's built-in right-alignment
-(setq mode-line-right-align-edge 'right-margin)
+;; Use 'window instead of 'right-margin so centered text modes (nov-mode, etc.)
+;; don't push modeline elements inward
+(setq mode-line-right-align-edge 'window)
;; String truncation length for narrow windows
(defcustom cj/modeline-string-truncate-length 12