summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-08-19 16:50:32 +0800
committerJSDurand <mmemmew@gmail.com>2021-08-19 16:50:32 +0800
commitbc2eb293e2006da99040ebee065b2a7485a73cd2 (patch)
treecd9518d3335caa616c69725fca36ec26f92be5c6
parenteb7ffcb9ecf14bea032a30365ecab29c2893884f (diff)
Clear all irrelevant processes at once
* init.el (durand-simple-clear-processes): Clear all irrelevant processes at once. (global-map): Bind to the key "c" in `process-menu-mode-map'.
-rw-r--r--init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.el b/init.el
index ae470df..6c6d03c 100644
--- a/init.el
+++ b/init.el
@@ -307,7 +307,9 @@ no effect."
(use-package "durand-simple" 'durand-simple
(define-key global-map (vector ?\C-\M-\s) #'durand-simple-mark-dwim)
(define-key global-map (vector ?\C-o) #'durand-simple-open-line)
- (define-key global-map (vector ?\C-') #'durand-simple-pair-dwim))
+ (define-key global-map (vector ?\C-') #'durand-simple-pair-dwim)
+ (define-key process-menu-mode-map
+ (vector ?c) #'durand-simple-clear-processes))
;;; Searches