From dd7c9b1d1ac7d6dbbdaa5759ef8292d5e11eabb4 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Tue, 30 May 2023 13:29:25 +0800 Subject: 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. --- dashboard.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dashboard.el') 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) -- cgit v1.2.3-18-g5258