Remove more extra empty lines in Org capture templates

This commit is contained in:
Daniel Borchmann 2024-04-14 11:00:30 +02:00
parent f064bf9384
commit 8ed64b7fb1
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

15
init.el
View File

@ -1105,7 +1105,8 @@
":PROPERTIES:\n:CREATED: %U\n:END:\n" ":PROPERTIES:\n:CREATED: %U\n:END:\n"
"\nVia %a.\n\n" "\nVia %a.\n\n"
"%?") "%?")
:empty-lines 1) :empty-lines-before 1
:empty-lines-after 0)
("g" "Record new goal" ("g" "Record new goal"
entry entry
(file db/org-default-refile-file) (file db/org-default-refile-file)
@ -1119,17 +1120,20 @@
":PROPERTIES:\n:CREATED: %U\n:END:\n" ":PROPERTIES:\n:CREATED: %U\n:END:\n"
"%a\n" "%a\n"
"%?") "%?")
:empty-lines 1) :empty-lines-before 1
:empty-lines-after 0)
("n" "Note" ("n" "Note"
entry entry
(file db/org-default-refile-file) (file db/org-default-refile-file)
"* Note: %^{About} :NOTE:\n:PROPERTIES:\n:CREATED: %U\n:END:\n\n%?" "* Note: %^{About} :NOTE:\n:PROPERTIES:\n:CREATED: %U\n:END:\n\n%?"
:empty-lines 1) :empty-lines-before 1
:empty-lines-after 0)
("d" "Date" ("d" "Date"
entry entry
(file db/org-default-refile-file) (file db/org-default-refile-file)
"* GOTO [#B] %^{What} :DATE:\n%^{When}t\n%a%?" "* GOTO [#B] %^{What} :DATE:\n%^{When}t\n%a%?"
:empty-lines 1) :empty-lines-before 1
:empty-lines-after 0)
("i" "Interruptions" ("i" "Interruptions"
entry entry
(file db/org-default-refile-file) (file db/org-default-refile-file)
@ -1146,7 +1150,8 @@
,(concat "* TODO [#B] Reply: %:subject (%:from) :EMAIL:\n" ,(concat "* TODO [#B] Reply: %:subject (%:from) :EMAIL:\n"
":PROPERTIES:\n:CREATED: %U\n:END:\n" ":PROPERTIES:\n:CREATED: %U\n:END:\n"
"\n%a\n%?") "\n%a\n%?")
:empty-lines 1))) :empty-lines-before 1
:empty-lines-after 0)))
:config (progn :config (progn
;; disable usage of helm for `org-capture' ;; disable usage of helm for `org-capture'
(with-eval-after-load 'helm-mode (with-eval-after-load 'helm-mode