From a815e8d5a9ba6851218e0a680e1ea0f09afb7a35 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 14 Sep 2019 10:39:12 -0700 Subject: [org] small improvements to hydra and templates set the correct title of the file for org journal, and don't add the current file when creating a new entry with org-capture. --- emacs.d/custom/fcuny-org.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el index 0ac83ca..dee8d2a 100644 --- a/emacs.d/custom/fcuny-org.el +++ b/emacs.d/custom/fcuny-org.el @@ -98,7 +98,7 @@ (org-capture-templates `(("t" "task entry" entry (file ,org-default-inbox-file ) - "* %?\n:PROPERTIES:\n:CREATED: %U\n:END:\n%i\n\nfrom: %a"))) + "* %?\n:PROPERTIES:\n:CREATED: %U\n:END:\n%i"))) :config (defhydra hydra-org-menu (:columns 6) @@ -106,9 +106,9 @@ ^Navigate^ ^Refile^ ^Move^ ^Update^ ^Go To^ ^Dired^ ^^^^^^^^^^--------------------------------------------------------------------------------------- _k_: ↑ previous _t_: tasks _m X_: projects _T_: todo task _g t_: tasks _g X_: projects - _j_: ↓ next _p_: personal _m P_: personal _S_: schedule _g x_: inbox _g P_: personal + _j_: ↓ next _p_: personal _m P_: personal _S_: schedule _g i_: incubate _g P_: personal _c_: archive _r_: refile _m T_: technical _D_: deadline _g n_: notes _g T_: technical - _d_: delete _i_: incubate _R_: rename _g C_: completed + _d_: delete _i_: incubate _R_: rename _g x_: inbox _g C_: completed " ("" org-previous-visible-heading) ("" org-next-visible-heading) @@ -149,7 +149,7 @@ :custom (org-journal-file-format "%Y-%m.org") (org-journal-dir "~/Documents/notebooks/journal/") - (org-journal-date-format "#+TITLE: Monthly Journal Entry - %e %b %Y (%A)") + (org-journal-date-format 'fcuny/org-journal-date-format-func) (org-journal-file-type `monthly)) (provide 'fcuny-org) -- cgit 1.4.1