mirror of
https://github.com/Foltik/dotfiles
synced 2025-02-02 16:22:41 -05:00
Fix up capture template formatting
This commit is contained in:
parent
9805ae622d
commit
dd86af9070
@ -397,10 +397,11 @@ Goodize the refiling targets to allow moving to subtrees
|
|||||||
(setq-local org-refile-use-outline-path t)
|
(setq-local org-refile-use-outline-path t)
|
||||||
(org-refile))
|
(org-refile))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
**** Tasks
|
**** Tasks
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq foltz-org-capture-task-templates '(
|
(setq foltz-org-capture-task-templates
|
||||||
("t" "Todo")
|
'(("t" "Todo")
|
||||||
("tg" "General" entry
|
("tg" "General" entry
|
||||||
(file+headline "notes.org" "Todo")
|
(file+headline "notes.org" "Todo")
|
||||||
"** %^{todo}\nNotes: %?\n")
|
"** %^{todo}\nNotes: %?\n")
|
||||||
@ -420,16 +421,16 @@ Goodize the refiling targets to allow moving to subtrees
|
|||||||
|
|
||||||
**** Bookmarks
|
**** Bookmarks
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq foltz-org-capture-bookmark-templates '(
|
(setq foltz-org-capture-bookmark-templates
|
||||||
("b" "Bookmark" entry
|
'(("b" "Bookmark" entry
|
||||||
(file+headline "links.org" "Unsorted Links")
|
(file+headline "links.org" "Unsorted Links")
|
||||||
"** [[%^{link}][%^{name}]]\nCreated: %U\nAbout: %^{description}%?\n")))
|
"** [[%^{link}][%^{name}]]\nCreated: %U\nAbout: %^{description}%?\n")))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
**** Personal
|
**** Personal
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq foltz-org-capture-personal-templates '(
|
(setq foltz-org-capture-personal-templates
|
||||||
("j" "Journal")
|
'(("j" "Journal")
|
||||||
("jj" "Journal Entry" entry
|
("jj" "Journal Entry" entry
|
||||||
(file+olp+datetree "journal.org")
|
(file+olp+datetree "journal.org")
|
||||||
"**** Today's Events\n%?")
|
"**** Today's Events\n%?")
|
||||||
@ -441,6 +442,14 @@ Goodize the refiling targets to allow moving to subtrees
|
|||||||
"**** Dream\n%?")))
|
"**** Dream\n%?")))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
**** Protocol
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq foltz-org-capture-protocol-templates
|
||||||
|
'(("w" "Website" entry
|
||||||
|
(file+headline "sites.org" "Unsorted Sites")
|
||||||
|
"** [[%:link][%:description%?]]\nCreated: %U\nAbout: %^{description}%?\n%:initial")))
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
**** All
|
**** All
|
||||||
Tie it all together.
|
Tie it all together.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@ -448,8 +457,10 @@ Tie it all together.
|
|||||||
(append
|
(append
|
||||||
foltz-org-capture-task-templates
|
foltz-org-capture-task-templates
|
||||||
foltz-org-capture-personal-templates
|
foltz-org-capture-personal-templates
|
||||||
foltz-org-capture-bookmark-templates))
|
foltz-org-capture-bookmark-templates
|
||||||
|
foltz-org-capture-protocol-templates))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Structure Templates
|
*** Structure Templates
|
||||||
Defines expansions with =<= followed by a string in org-mode.
|
Defines expansions with =<= followed by a string in org-mode.
|
||||||
**** Source Blocks
|
**** Source Blocks
|
||||||
@ -510,6 +521,15 @@ Make bullets look choice
|
|||||||
:hook (org-mode . org-bullets-mode))
|
:hook (org-mode . org-bullets-mode))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
*** Org-protocol
|
||||||
|
Allows interception of calls to =emacsclient= to trigger custom actions.
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package org-protocol
|
||||||
|
:pin org)
|
||||||
|
(use-package org-protocol-capture
|
||||||
|
:pin org)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
** Fuzzy Matching
|
** Fuzzy Matching
|
||||||
Ivy, swiper, and counsel all provide fuzzy-matching on different
|
Ivy, swiper, and counsel all provide fuzzy-matching on different
|
||||||
emacs operations.
|
emacs operations.
|
||||||
|
Loading…
Reference in New Issue
Block a user