[emacs] Add org-protocol capture style

This commit is contained in:
2020-10-26 00:50:32 -04:00
parent 3b1ec20d1f
commit b1dcc289e5
2 changed files with 14 additions and 9 deletions

View File

@ -132,9 +132,12 @@
org-fontify-quote-and-verse-blocks t org-fontify-quote-and-verse-blocks t
org-ellipsis "" org-ellipsis ""
org-image-actual-width '(600) org-image-actual-width '(600)
org-protocol-default-template-key "l"
org-capture-templates org-capture-templates
'(("i" "Send to inbox" entry (file "~/var/org/inbox.org") '(("i" "Send to inbox" entry (file "~/var/org/inbox.org")
"* TODO %?\n")) "* TODO %?\n")
("l" "Link" entry (file "~/var/org/inbox.org")
"* TODO %a\n %?\n %i"))
org-todo-keywords org-todo-keywords
'((sequence "TODO(t)" "NEXT(n)" "MAYBE(m)" "|" "DONE(d)" "WONTDO(w)")) '((sequence "TODO(t)" "NEXT(n)" "MAYBE(m)" "|" "DONE(d)" "WONTDO(w)"))
org-modules '(ol-eshell org-modules '(ol-eshell

View File

@ -193,9 +193,12 @@ a serif font when Im writing a lot of words.
org-fontify-quote-and-verse-blocks t org-fontify-quote-and-verse-blocks t
org-ellipsis "" org-ellipsis ""
org-image-actual-width '(600) org-image-actual-width '(600)
org-protocol-default-template-key "l"
org-capture-templates org-capture-templates
'(("i" "Send to inbox" entry (file "~/var/org/inbox.org") '(("i" "Send to inbox" entry (file "~/var/org/inbox.org")
"* TODO %?\n")) "* TODO %?\n")
("l" "Link" entry (file "~/var/org/inbox.org")
"* TODO %a\n %?\n %i"))
org-todo-keywords org-todo-keywords
'((sequence "TODO(t)" "NEXT(n)" "MAYBE(m)" "|" "DONE(d)" "WONTDO(w)")) '((sequence "TODO(t)" "NEXT(n)" "MAYBE(m)" "|" "DONE(d)" "WONTDO(w)"))
org-modules '(ol-eshell org-modules '(ol-eshell
@ -214,7 +217,6 @@ a serif font when Im writing a lot of words.
(setq org-refile-targets '(("~/var/org/inbox.org" :maxlevel . 9))) (setq org-refile-targets '(("~/var/org/inbox.org" :maxlevel . 9)))
(setq org-outline-path-complete-in-steps nil) ; Refile in a single go (setq org-outline-path-complete-in-steps nil) ; Refile in a single go
(setq org-refile-use-outline-path t) ; Show full paths for refiling (setq org-refile-use-outline-path t) ; Show full paths for refiling
#+END_SRC #+END_SRC
** Key bindings ** Key bindings
I add only two custom mappings to the default org mode maps, a shortcut to my Inbox file and a quick way to save all open org mode files. I add only two custom mappings to the default org mode maps, a shortcut to my Inbox file and a quick way to save all open org mode files.