Org mode agenda configuration and typescript setup

This commit is contained in:
Curt Spark 2026-02-18 11:22:56 +00:00
parent 3ff83a09cc
commit 4ba35cd7d4
1 changed files with 40 additions and 0 deletions

40
init.el
View File

@ -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