Add config for trashed, a dired-like interface to the trash bin

This commit is contained in:
dbo 2020-09-12 09:24:01 +02:00
parent 8ffc2e5dd4
commit a7a38f33e7
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 8 additions and 0 deletions

View File

@ -1962,6 +1962,14 @@ With given ARG, display files in `db/important-document-path."
(add-to-list 'font-lock-maximum-decoration '(wdired-mode . 1))
(add-to-list 'font-lock-maximum-decoration '(dired-mode . 1))))
(use-package trashed
;; A simple dired-like interface to the system trash bin
;; Configuration taken from https://protesilaos.com/dotemacs
:init (setq trashed-action-confirmer 'y-or-n-p
trashed-use-header-line t
trashed-sort-key '("Date deleted" . t)
trashed-date-format "%Y-%m-%d %H:%M:%S"))
;; * Completion