diff --git a/configuration.org b/configuration.org index b7ecf0e..5c4d399 100644 --- a/configuration.org +++ b/configuration.org @@ -2667,6 +2667,9 @@ This is a big one; I use a lot of customisation here. (unless (boundp 'org-capture-templates) (setq org-capture-templates nil)) + ;; Handle org-protocol:// links + (require 'org-protocol) + ;; Set up capture templates for blog posts and GT2 related notes (add-to-list 'org-capture-templates '("p" "Blog post" entry @@ -2693,6 +2696,11 @@ This is a big one; I use a lot of customisation here. "%i" :immediate-finish t :empty-lines 1)) + (add-to-list 'org-capture-templates + '("L" "Org-protocol capture" entry + (file+headline (lambda () (expand-file-name "index.org" org-directory)) "Captures") + "** %:description\n:PROPERTIES:\n:SOURCE: %:link\n:END:\n\n%:initial" + :empty-lines 1)) :hook (ediff-select . f-ediff-org-unfold-tree-element) (ediff-unselect . f-ediff-org-fold-tree)