summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-05-28 12:54:09 +0800
committerJSDurand <mmemmew@gmail.com>2023-05-28 12:54:09 +0800
commitb5b12a2016b4e0643d6bbea2c060cf7638b1af95 (patch)
treef7822a95208de1a90f100e7bca77288f2c449805
parent1a60ba4fba517c54e6d8b7286bd5471819248118 (diff)
dashboard: bind `modeline-toggle`.
* dashboard.el (dashboard-mode-map): Bind `modeline-toggle` to 't' to conveniently toggle the mode line.
-rw-r--r--dashboard.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/dashboard.el b/dashboard.el
index cd4886c..f55666b 100644
--- a/dashboard.el
+++ b/dashboard.el
@@ -75,6 +75,7 @@ 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 ?a) #'dashboard-org-agenda)
(define-key dashboard-mode-map (vector ?c) #'dashboard-org-capture)
(define-key dashboard-mode-map (vector ?l) #'dashboard-org-store-link)