summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
authornoa2025-04-29 15:21:04 +0800
committernoa2025-04-29 15:21:04 +0800
commit61f01cafc363aced0ecebbf7eb07bc7d23db7718 (patch)
treeb6bb07d0e5e0c511a8bbc0f454ff836bf298c74e /emacs/init.el
parent5e925f085b4b29f3c2dd752bb2a1191296c0b42e (diff)
Add a pomodoro (tm) function
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 35393d2..7485972 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -784,6 +784,10 @@
   (when (buffer-file-name)
     (kill-new (file-name-nondirectory (buffer-file-name)))))
 
+(defun noa/twenty-five-minutes ()
+  (interactive)
+  (org-timer-set-timer 25))
+
 ;; Insert date and time at point
 ;; Sometimes it's useful to be able to add a timestamp.  I use this for notes.  Use the same binding as notepad.exe.
 (defun noa/insert-date (&optional time)