feat: add menu entry and keybinding for force-restart-timer
This commit is contained in:
parent
103521be88
commit
58f0fdf0ba
|
@ -1298,6 +1298,7 @@ PREFIX is ignored."
|
|||
(define-key map (kbd "r") #'chronometrist-report)
|
||||
(define-key map (kbd "l") #'chronometrist-open-log)
|
||||
(define-key map (kbd "G") #'chronometrist-reset)
|
||||
(define-key map (kbd "T") #'chronometrist-force-restart-timer)
|
||||
map)
|
||||
"Keymap used by `chronometrist-mode'.")
|
||||
|
||||
|
@ -1316,6 +1317,7 @@ PREFIX is ignored."
|
|||
["View details of today's data" chronometrist-details]
|
||||
["View weekly report" chronometrist-report]
|
||||
["View/edit log file" chronometrist-open-log]
|
||||
["Restart timer" chronometrist-force-restart-timer]
|
||||
["Reset state" chronometrist-reset]))
|
||||
|
||||
(define-derived-mode chronometrist-mode tabulated-list-mode "Chronometrist"
|
||||
|
|
|
@ -2367,6 +2367,7 @@ PREFIX is ignored."
|
|||
(define-key map (kbd "r") #'chronometrist-report)
|
||||
(define-key map (kbd "l") #'chronometrist-open-log)
|
||||
(define-key map (kbd "G") #'chronometrist-reset)
|
||||
(define-key map (kbd "T") #'chronometrist-force-restart-timer)
|
||||
map)
|
||||
"Keymap used by `chronometrist-mode'.")
|
||||
#+END_SRC
|
||||
|
@ -2387,6 +2388,7 @@ PREFIX is ignored."
|
|||
["View details of today's data" chronometrist-details]
|
||||
["View weekly report" chronometrist-report]
|
||||
["View/edit log file" chronometrist-open-log]
|
||||
["Restart timer" chronometrist-force-restart-timer]
|
||||
["Reset state" chronometrist-reset]))
|
||||
#+END_SRC
|
||||
**** chronometrist-mode :major:mode:
|
||||
|
|
Reference in New Issue