Handle org-protocol:// links
This commit is contained in:
parent
1f03365d28
commit
74922ec587
@ -2667,6 +2667,9 @@ This is a big one; I use a lot of customisation here.
|
|||||||
(unless (boundp 'org-capture-templates)
|
(unless (boundp 'org-capture-templates)
|
||||||
(setq org-capture-templates nil))
|
(setq org-capture-templates nil))
|
||||||
|
|
||||||
|
;; Handle org-protocol:// links
|
||||||
|
(require 'org-protocol)
|
||||||
|
|
||||||
;; Set up capture templates for blog posts and GT2 related notes
|
;; Set up capture templates for blog posts and GT2 related notes
|
||||||
(add-to-list 'org-capture-templates
|
(add-to-list 'org-capture-templates
|
||||||
'("p" "Blog post" entry
|
'("p" "Blog post" entry
|
||||||
@ -2693,6 +2696,11 @@ This is a big one; I use a lot of customisation here.
|
|||||||
"%i"
|
"%i"
|
||||||
:immediate-finish t
|
:immediate-finish t
|
||||||
:empty-lines 1))
|
: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
|
:hook
|
||||||
(ediff-select . f-ediff-org-unfold-tree-element)
|
(ediff-select . f-ediff-org-unfold-tree-element)
|
||||||
(ediff-unselect . f-ediff-org-fold-tree)
|
(ediff-unselect . f-ediff-org-fold-tree)
|
||||||
|
Loading…
Reference in New Issue
Block a user