emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/disk-usage 364c62b 20/26: Bind "a" and "A" to filter co


From: Pierre Neidhardt
Subject: [elpa] externals/disk-usage 364c62b 20/26: Bind "a" and "A" to filter commands in disk-usage-by-types
Date: Tue, 26 Feb 2019 03:06:39 -0500 (EST)

branch: externals/disk-usage
commit 364c62b9ca9b578ef3f020747757d52b6e86e189
Author: Pierre Neidhardt <address@hidden>
Commit: Pierre Neidhardt <address@hidden>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]