Fix capture templates

This commit is contained in:
Dimitri Lozeve 2019-11-05 16:02:36 +01:00
parent ccc0498dbd
commit e146d00597

13
init.el
View file

@ -165,6 +165,7 @@
:config :config
(setq ispell-program-name "aspell" ; use aspell instead of ispell (setq ispell-program-name "aspell" ; use aspell instead of ispell
ispell-extra-args '("--sug-mode=ultra")) ispell-extra-args '("--sug-mode=ultra"))
(ispell-change-dictionary "british")
(add-hook 'text-mode-hook #'flyspell-mode) (add-hook 'text-mode-hook #'flyspell-mode)
(add-hook 'prog-mode-hook #'flyspell-prog-mode) (add-hook 'prog-mode-hook #'flyspell-prog-mode)
(global-set-key (kbd "<f8>") 'ispell-word) (global-set-key (kbd "<f8>") 'ispell-word)
@ -321,21 +322,17 @@
(setq org-capture-templates (setq org-capture-templates
(quote (quote
(("w" "Work" entry (("w" "Work" entry
(file+olp "~/notes/planner.org" "Tasks" "Work") (file+olp "~/notes/planner.org" "Other")
"*** TODO %?" :prepend t) "*** TODO %?" :prepend t)
("e" "Event" entry
(file "~/Nextcloud/org/gcal.org")
"*** %?
%^t" :prepend t)
("t" "Task" entry ("t" "Task" entry
(file+olp "~/notes/planner.org" "Tasks" "Misc") (file+olp "~/notes/planner.org" "Personal")
"*** TODO %?" :prepend t) "*** TODO %?" :prepend t)
("j" "Journal Entry" entry ("j" "Journal Entry" entry
(file+datetree "~/notes/journal.org") (file+datetree "~/notes/journal.org")
"* %T %^{Header: |Log|Note|Idea} "* %T Log
%?%i" :empty_lines 1) %?%i" :empty_lines 1)
("p" "Project" entry ("p" "Project" entry
(file+olp "~/notes/planner.org" "Projects") (file+olp "~/notes/planner.org" "Personal projects")
"" :prepend t) "" :prepend t)
("n" "Note" entry ("n" "Note" entry
(file+olp "~/notes/planner.org" "Notes") (file+olp "~/notes/planner.org" "Notes")