Skip to content

Instantly share code, notes, and snippets.

@lislon
Created October 2, 2015 12:50
Show Gist options
  • Select an option

  • Save lislon/8328f4a414c1d8756d2c to your computer and use it in GitHub Desktop.

Select an option

Save lislon/8328f4a414c1d8756d2c to your computer and use it in GitHub Desktop.
(setq org-capture-templates
(quote (("t" "todo" entry (file "~/org/refile.org")
"* TODO %?\n%U\n" :clock-in t :clock-resume t)
("b" "book" entry (file+headline "~/org/todo.org" "Book list")
"* %x %?\n%U\n")
("m" "movie" entry (file+headline "~/org/todo.org" "Movie list")
"* TODO %?\n%U\n")
("n" "note" entry (file "~/org/refile.org")
"* %?\n%U\n%x")
("s" "snippet zsh" entry (file "~/org/refile.org")
"* %?\n#+BEGIN_SRC sh\n%x\n#+END_SRC"))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment