From a7a38f33e73db7457b0db6d50b6b816b5edb5028 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 12 Sep 2020 09:24:01 +0200 Subject: [PATCH] Add config for trashed, a dired-like interface to the trash bin --- init.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/init.el b/init.el index 3bb9916..81f06b2 100644 --- a/init.el +++ b/init.el @@ -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