Skip to content

Commit 8c9f9d5

Browse files
juplsyl20bnr
authored andcommitted
Add toggle to display time in modeline
1 parent 556584a commit 8c9f9d5

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

doc/DOCUMENTATION.org

+1
Original file line numberDiff line numberDiff line change
@@ -1153,6 +1153,7 @@ Some elements can be dynamically toggled:
11531153
| ~SPC t m n~ | toggle the cat! (if =colors= layer is declared in your dotfile) |
11541154
| ~SPC t m p~ | toggle the point character position |
11551155
| ~SPC t m t~ | toggle the mode line itself |
1156+
| ~SPC t m T~ | toggle the time |
11561157
| ~SPC t m v~ | toggle the version control info |
11571158
| ~SPC t m V~ | toggle the new version lighter |
11581159

layers/+distributions/spacemacs-base/keybindings.el

+4
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,10 @@
304304
:off (hidden-mode-line-mode)
305305
:documentation "Toggle the visibility of modeline."
306306
:evil-leader "tmt")
307+
(spacemacs|add-toggle display-time
308+
:mode display-time-mode
309+
:documentation "Display time in modeline."
310+
:evil-leader "tmT")
307311
(spacemacs|add-toggle transparent-frame
308312
:status nil
309313
:on (spacemacs/toggle-transparency)

0 commit comments

Comments
 (0)