[Emacs] Updates for org-project-capture
This commit is contained in:
parent
cac7be1ca7
commit
42d009bb64
@ -3598,22 +3598,30 @@ alphanumeric characters only."
|
|||||||
**** org-projectile
|
**** org-projectile
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package org-projectile
|
(use-package org-projectile
|
||||||
:defer 3
|
:straight (org-projectile :type git :flavor melpa
|
||||||
|
:files ("org-projectile.el" "org-project-capture.el"
|
||||||
|
"org-projectile-pkg.el" "org-project-capture-backend.el")
|
||||||
|
:branch "org-project-capture"
|
||||||
|
:host github
|
||||||
|
:repo "colonelpanic8/org-project-capture")
|
||||||
|
:bind ("C-c n p" . org-project-capture-project-todo-completing-read)
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(setq org-projectile-projects-file
|
(setq org-project-capture-default-backend
|
||||||
|
(make-instance 'org-project-capture-projectile-backend))
|
||||||
|
(setq org-project-capture-projects-file
|
||||||
(imalison:join-paths imalison:org-dir "projects.org")
|
(imalison:join-paths imalison:org-dir "projects.org")
|
||||||
org-projectile-capture-template
|
org-project-capture-capture-template
|
||||||
(format "%s%s" "* TODO %?" imalison:created-property-string))
|
(format "%s%s" "* TODO %?" imalison:created-property-string))
|
||||||
(add-to-list 'org-capture-templates
|
(add-to-list 'org-capture-templates
|
||||||
(org-projectile-project-todo-entry
|
(org-project-capture-project-todo-entry
|
||||||
:capture-character "l"
|
:capture-character "l"
|
||||||
:capture-heading "Linked Project TODO"))
|
:capture-heading "Linked Project TODO"))
|
||||||
(add-to-list 'org-capture-templates
|
(add-to-list 'org-capture-templates
|
||||||
(org-projectile-project-todo-entry
|
(org-project-capture-project-todo-entry
|
||||||
:capture-character "p"))
|
:capture-character "p"))
|
||||||
(setq org-confirm-elisp-link-function nil)
|
(setq org-confirm-elisp-link-function nil)
|
||||||
(imalison:add-to-org-agenda-files (org-projectile-todo-files))))
|
(imalison:add-to-org-agenda-files (org-project-capture-todo-files))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
**** org-pomodoro
|
**** org-pomodoro
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@ -3637,11 +3645,14 @@ alphanumeric characters only."
|
|||||||
**** org-roam
|
**** org-roam
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
|
:defer 1
|
||||||
:config
|
:config
|
||||||
(when (version<= "29.0" emacs-version)
|
(progn
|
||||||
(use-package emacsql-sqlite-builtin
|
(when (version<= "29.0" emacs-version)
|
||||||
:demand t)
|
(use-package emacsql-sqlite-builtin
|
||||||
(setq org-roam-database-connector 'sqlite-builtin))
|
:demand t)
|
||||||
|
(setq org-roam-database-connector 'sqlite-builtin))
|
||||||
|
(org-roam-db-autosync-mode +1))
|
||||||
:custom
|
:custom
|
||||||
(org-roam-directory (file-truename "~/org/roam/")))
|
(org-roam-directory (file-truename "~/org/roam/")))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
Loading…
Reference in New Issue
Block a user