summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-05-30 13:29:25 +0800
committerJSDurand <mmemmew@gmail.com>2023-05-30 13:29:25 +0800
commitdd7c9b1d1ac7d6dbbdaa5759ef8292d5e11eabb4 (patch)
treeaa60d725152adf55a163faa474bc6f1d2b02e1d7
parentb02ab1c8f22807197f40ff244a0262346952c2ca (diff)
dashboard: bind 't' to show temps info and 'T' to toggle.
* dashboard.el (dashboard-mode-map): Now 't' is bound to `durand-view-timers-or-temps` and 'T' is bound to `modeline-toggle`. The ability to view interesting information is much more important than that of toggling the modeline, in my opinion.
-rw-r--r--dashboard.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/dashboard.el b/dashboard.el
index 3e6be00..5cd4255 100644
--- a/dashboard.el
+++ b/dashboard.el
@@ -75,7 +75,9 @@ common functionalities more conveniently.")
(define-key dashboard-mode-map (vector ?l) #'blist)
(define-key dashboard-mode-map (vector ?b) #'bookmark-jump)
-(define-key dashboard-mode-map (vector ?t) #'modeline-toggle)
+(define-key dashboard-mode-map (vector ?T) #'modeline-toggle)
+(define-key dashboard-mode-map (vector ?t)
+ #'durand-view-timers-or-temps)
(define-key dashboard-mode-map (vector ?o) #'durand-open-object)
(define-key dashboard-mode-map (vector ?g) #'gnus)
(define-key dashboard-mode-map (vector ?a) #'dashboard-org-agenda)