学用Emacs大半年,今天看了The Org Manual 中的 第十章 关于 capture
请教大佬们,这个怎么用比较合适:
我先设置了键绑定:
#+begin_src emacs-lisp
(global-set-key (kbd "s-1")
'org-capture)
#+end_src
接着, 设置了下模板:
#+begin_src emacs-lisp
(setq org-capture-templates
'(("a" "Appointment" entry (file+headline "~/org/GTD/appointment.org" "Appointments")
"* TODO %?\n:PROPERTIES:\n\n:END:\nDEADLINE: %^T \n %i\n")
("n" "Note" entry (file+headline "~/org/GTD/notes.org" "Notes")
"* Note %?\n%T")
("l" "Link" entry (file+headline "~/org/GTD/links.org" "Links")
"* %? %^L %^g \n%T" :prepend t)
("b" "Blog idea" entry (file+headline "~/org/GTD/i.org" "Blog Topics:")
"* %?\n%T" :prepend t)
("t" "To Do Item" entry (file+headline "~/org/GTD/task.org" "To Do Items")
"* %?\n%T" :prepend t)
("j" "Journal" entry (file+datetree "~/org/GTD/journal.org")
"* %?\nEntered on %U\n %i\n %a")
("s" "Screencast" entry (file "~/org/GTD/screencastnotes.org")
"* %?\n%i\n")))
#+end_src
有没有然后啊?