Created
May 1, 2016 11:04
-
-
Save munen/8fdceaf9a217c7f41c3e6355ea683767 to your computer and use it in GitHub Desktop.
Create custom capture templates for emacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq org-capture-templates | |
'(("t" "Todo" entry (file+headline (concat org-directory "inbox.org") "Tasks") | |
"* TODO %?\n %U\n %i\n %a") | |
("s" "Code Snippet" entry | |
(file (concat org-directory "snippets.org")) | |
;; Prompt for tag and language | |
"* %?\t%^g\n#+BEGIN_SRC %^{language}\n\n#+END_SRC") | |
("m" "Media" entry | |
(file+datetree (concat org-directory "media.org")) | |
"* %?\nURL: \nEntered on %U\n"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment