org-roam
template for capturing from the browser
Some checks failed
/ test (push) Has been cancelled
Some checks failed
/ test (push) Has been cancelled
This commit is contained in:
parent
6d01ccf480
commit
e9d20e9453
1 changed files with 16 additions and 2 deletions
|
@ -785,6 +785,12 @@ This is meant to be an helper to be called from the window manager."
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
|
:init
|
||||||
|
(require 'org)
|
||||||
|
(require 'org-roam)
|
||||||
|
(require 'org-roam-dailies)
|
||||||
|
(require 'org-protocol)
|
||||||
|
(require 'org-roam-protocol)
|
||||||
:custom
|
:custom
|
||||||
(org-roam-v2-ack t)
|
(org-roam-v2-ack t)
|
||||||
(org-roam-directory (file-truename "~/org"))
|
(org-roam-directory (file-truename "~/org"))
|
||||||
|
@ -797,10 +803,18 @@ This is meant to be an helper to be called from the window manager."
|
||||||
("b" "Billable entry" entry
|
("b" "Billable entry" entry
|
||||||
"* TODO ${Entry} :billable:${Client}:\n:PROPERTIES:\n:SPENT: ${Spent}\n:END:\n%?"
|
"* TODO ${Entry} :billable:${Client}:\n:PROPERTIES:\n:SPENT: ${Spent}\n:END:\n%?"
|
||||||
:target (file+head "%<%Y-%m-%d>.org" "#+TITLE: %<%Y-%m-%d>")
|
:target (file+head "%<%Y-%m-%d>.org" "#+TITLE: %<%Y-%m-%d>")
|
||||||
:create-id t))
|
:create-id t)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(org-roam-capture-ref-templates
|
||||||
|
'(
|
||||||
|
("r" "Web entry" entry
|
||||||
|
"* ${Title} \n:PROPERTIES:\n:URL: ${ref}\n:END:\n %i"
|
||||||
|
:target (file+head "daily/%<%Y-%m-%d>.org" "#+TITLE: %<%Y-%m-%d>")
|
||||||
|
:create-id t)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
:config
|
:config
|
||||||
(require 'org-roam-dailies)
|
|
||||||
(org-roam-db-autosync-mode)
|
(org-roam-db-autosync-mode)
|
||||||
|
|
||||||
;; In order to automatically add an org id for some capture templates (using the :create-id keyword)
|
;; In order to automatically add an org id for some capture templates (using the :create-id keyword)
|
||||||
|
|
Loading…
Add table
Reference in a new issue