summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-09-14 10:39:12 -0700
committerFranck Cuny <fcuny@twitter.com>2019-09-14 10:39:12 -0700
commita815e8d5a9ba6851218e0a680e1ea0f09afb7a35 (patch)
tree1976dfb1bcd3aa951dd4f4e27e1315ea78a8a0a4 /emacs
parent[emacs] add a couple more functions. (diff)
downloademacs.d-a815e8d5a9ba6851218e0a680e1ea0f09afb7a35.tar.gz
[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.
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-org.el8
1 files 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
   "
     ("<up>" org-previous-visible-heading)
     ("<down>" 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)