branch: externals/disk-usage
commit 364c62b9ca9b578ef3f020747757d52b6e86e189
Author: Pierre Neidhardt <[email protected]>
Commit: Pierre Neidhardt <[email protected]>
Bind "a" and "A" to filter commands in disk-usage-by-types
---
disk-usage.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/disk-usage.el b/disk-usage.el
index e30b245..94c9da7 100644
--- a/disk-usage.el
+++ b/disk-usage.el
@@ -691,6 +691,8 @@ TYPE is the file extension (lower case)."
(let ((map (make-sparse-keymap)))
(set-keymap-parent map tabulated-list-mode-map)
(define-key map "h" #'disk-usage-toggle-human-readable)
+ (define-key map "a" #'disk-usage-add-filters)
+ (define-key map "A" #'disk-usage-remove-filters)
;; Don't use "<return>" since that doesn't work in a tty.
(define-key map (kbd "RET") #'disk-usage-files)
map)