diff options
Diffstat (limited to 'config/init-notes.el')
-rw-r--r-- | config/init-notes.el | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/config/init-notes.el b/config/init-notes.el index 0cdf5c6..dc3d9af 100644 --- a/config/init-notes.el +++ b/config/init-notes.el @@ -39,6 +39,9 @@ (org-log-done 'time) (org-log-into-drawer t) + ;; no empty lines between items + (org-blank-before-new-entry '((heading . nil) (plain-list-item . nil))) + ;; org-refile options ;;; the tag 'rt' means 'refile target'. I don't want this tag to be inherited, I set it explicitly. (org-tags-exclude-from-inheritance '(rt)) @@ -80,12 +83,14 @@ ("C-c c" . org-capture) :config (setq org-capture-templates - `(("n" "Note" entry (file "notes.org") - "* %?\n:PROPERTIES:\n:CREATED: %T\n:END:\n" :prepend t :empty-lines 1) + `(("n" "Note" entry (file+headline "notes.org" "references") + "* %?\n:PROPERTIES:\n:CREATED: %T\n:END:\n" :prepend t) ("j" "Journal" entry (file+olp+datetree "notes.org" "journal") - "* %U %?\n:PROPERTIES:\n:CREATED: %T\n:END:\n" :prepend t :empty-lines 1 :tree-type month) + "* %U %?\n:PROPERTIES:\n:CREATED: %T\n:END:\n" :prepend t :tree-type month) + ("l" "Web link" entry (file+headline "notes.org" "links") + "* TODO %?%a:\n:PROPERTIES:\n:CREATED: %U\n:END:\n" :prepend t :immediate-finish t) ("t" "Tasks" entry (file "inbox.org") - "* TODO %?\n:PROPERTIES:\n:CREATED: %U\n:END:\n" :prepend t :empty-lines 1)))) + "* TODO %?\n:PROPERTIES:\n:CREATED: %U\n:END:\n" :prepend t)))) (use-package org-agenda :ensure nil @@ -115,6 +120,9 @@ (advice-add 'org-babel-edit-prep:emacs-lisp :after #'(lambda (_info) (run-hooks 'emacs-lisp-mode-hook)))) +(use-package git-auto-commit-mode + :ensure t) + (provide 'init-notes) ;;; init-notes.el ends here |