.emacs.d

the most bloated Emacs config on this planet
git clone https://git.trogloxene.org/.emacs.d.git
Log | Files | Refs

commit e52e40b8d99a04a4891a56bd9bd9b0f2f84f67bf
parent 9731f91f65dd2a55f802e24780be664a75716ac6
Author: andsy10 <andsy1016@gmail.com>
Date:   Sat,  1 Aug 2026 21:42:34 +0800

Optimize dired mode line

Diffstat:
Mlisp/init-dired.el | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/lisp/init-dired.el b/lisp/init-dired.el @@ -13,6 +13,7 @@ (setq dired-dwim-target t dired-listing-switches "-l --almost-all --human-readable --group-directories-first --no-group" + dired-switches-in-mode-line 0 dired-recursive-deletes 'always dired-recursive-copies 'always dired-mouse-drag-files t @@ -44,7 +45,7 @@ (setq dirvish-default-layout nil dirvish-layout-recipes '((1 0.15 0.45)))) - (setq dirvish-use-mode-line t + (setq dirvish-use-mode-line nil dirvish-mode-line-format '(:left (sort omit symlink) :right (free-space index)) dirvish-attributes '(file-time file-size) dirvish-yank-sources 'session @@ -122,7 +123,10 @@ ;; dired-async (use-package dired-rsync :config - (setq dired-rsync-options "-az -e ssh")) + (setq dired-rsync-options "-az -e ssh") + (setq-default mode-line-format + (append mode-line-format + '((:eval (propertize dired-rsync-modeline-status 'face 'dired-async-mode-message)))))) ;; mount disk (when *is-linux*