emacs: save buffer on clocking and add bachelor capture template
This commit is contained in:
parent
de79477a1f
commit
18c9babaef
@ -77,6 +77,9 @@
|
||||
;; Insert timestamp when marking task as done
|
||||
(setq org-log-done #'time)
|
||||
|
||||
(add-hook 'org-clock-in-hook #'save-buffer)
|
||||
(add-hook 'org-clock-out-hook #'save-buffer)
|
||||
|
||||
(after! org
|
||||
(setq org-capture-templates '(("t" "Personal todo" entry
|
||||
(file+headline +org-capture-todo-file "Inbox")
|
||||
@ -96,7 +99,11 @@
|
||||
"* %U %?\n%i\n%a" :prepend t)
|
||||
("pc" "Project-local changelog" entry
|
||||
(file+headline +org-capture-project-changelog-file "Unreleased")
|
||||
"* %U %?\n%i\n%a" :prepend t)))
|
||||
"* %U %?\n%i\n%a" :prepend t)
|
||||
("b" "Bachelor Idea" entry
|
||||
(file+headline "bachelorarbeit-ideen.org" "Inbox")
|
||||
"* IDEA %?\n%i\n%T\n%a" :prepend t)
|
||||
))
|
||||
)
|
||||
;; (map! :nv "SPC r" "SPC n r")
|
||||
|
||||
@ -106,6 +113,7 @@
|
||||
(map! :map org-mode-map :nvi "C-l" #'org-down-element)
|
||||
|
||||
(map! :map org-mode-map :nvi "M-i" #'org-roam-node-insert)
|
||||
(map! :map org-mode-map :nvi "M-@" #'org-cite-insert)
|
||||
(map! :map doom-leader-notes-map "r r" #'org-roam-node-find)
|
||||
(map! :map doom-leader-notes-map "r t" #'org-roam-buffer-toggle)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user