diff options
author | Case Duckworth | 2022-04-28 15:49:22 -0500 |
---|---|---|
committer | Case Duckworth | 2022-04-28 15:49:22 -0500 |
commit | 7f7ede201b1eb1a9ac7811b716bf39a5adae9896 (patch) | |
tree | a6b98b1513e3def1244522ad40327b1be9499b34 /init.el | |
parent | Add setup forms to imenu /after/ init (diff) | |
download | emacs-7f7ede201b1eb1a9ac7811b716bf39a5adae9896.tar.gz emacs-7f7ede201b1eb1a9ac7811b716bf39a5adae9896.zip |
Dim .gitignore files (mostly) in dired
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/init.el b/init.el index c2e0460..2137179 100644 --- a/init.el +++ b/init.el | |||
@@ -269,7 +269,7 @@ | |||
269 | compilation-scroll-output t)) | 269 | compilation-scroll-output t)) |
270 | 270 | ||
271 | (setup dired | 271 | (setup dired |
272 | (:also-load dired-x +dired) | 272 | (:require dired-x +dired) |
273 | (:straight dired+) | 273 | (:straight dired+) |
274 | (:option dired-recursive-copies 'always | 274 | (:option dired-recursive-copies 'always |
275 | dired-recursive-deletes 'always | 275 | dired-recursive-deletes 'always |
@@ -293,7 +293,8 @@ | |||
293 | "j" #'+dired-goto-file) | 293 | "j" #'+dired-goto-file) |
294 | (:hook #'dired-hide-details-mode | 294 | (:hook #'dired-hide-details-mode |
295 | #'hl-line-mode | 295 | #'hl-line-mode |
296 | #'lin-mode) | 296 | #'lin-mode |
297 | #'+dired-dim-git-ignores) | ||
297 | (:+key "C-x C-j" #'dired-jump) | 298 | (:+key "C-x C-j" #'dired-jump) |
298 | (dolist (refresh-after-func '(dired-do-flagged-delete)) | 299 | (dolist (refresh-after-func '(dired-do-flagged-delete)) |
299 | (advice-add refresh-after-func :after #'revert-buffer)) | 300 | (advice-add refresh-after-func :after #'revert-buffer)) |