From 4ba35cd7d48d8eee6537050eb826eee8372604c8 Mon Sep 17 00:00:00 2001 From: cspark Date: Wed, 18 Feb 2026 11:22:56 +0000 Subject: [PATCH] Org mode agenda configuration and typescript setup --- init.el | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/init.el b/init.el index d0d4166..5a847ed 100644 --- a/init.el +++ b/init.el @@ -300,16 +300,54 @@ ) ;; Org Mode Config +;Agenda +;For Org-Agenda, you can set a location of your Org Agenda file here. Set Agenda Directory: +(use-package org + :ensure t + :config + (setq org-agenda-files '("~/Agenda")) + ;This is will integrate the Calendar/Diary into Org-Agenda, so you can get access to dates on public holidays etc. Set diary to true: + (setq org-agenda-include-diary t) + ;Ensure done date/closed timestamps are logged + (setq org-log-done 'time) +) + +; Org Pomodoro +(use-package org-pomodoro + :ensure t + :after org + :config + (setq org-pomodoro-manual-break t) + (setq org-pomodoro-keep-killed-pomodoro-time t) + (setq org-pomodoro-play-sounds t) + (setq org-pomodoro-ticking-sound-p nil) + (setq org-pomodoro-audio-player "mpv") +) +; For Org Pomodoro notification sound +(use-package sound-wav + :ensure t +) + +; System notifications of org agenda items +(use-package org-alert + :ensure t + :after org + :config + (org-alert-enable) +) + ; Org Latex Preview Scale ; Automatically toggle Org mode LaTeX fragment previews as the cursor enters and exits them (use-package org-fragtog :ensure t + :after org :config (add-hook 'org-mode-hook 'org-latex-preview) (add-hook 'org-mode-hook 'org-fragtog-mode) (setq org-format-latex-options (plist-put org-format-latex-options :scale 3.0)) ) + ;; Treesit Config (use-package treesit :ensure nil @@ -474,6 +512,8 @@ (use-package emmet-mode :ensure t :hook + (typescript-ts-mode . emmet-mode) + (tsx-ts-mode . emmet-mode) (html-ts-mode . emmet-mode) (css-ts-mode . emmet-mode) :config