0

I defined a template like so

 ("g" "Godo"
          entry
          (file+headline "~/mega/org/gcal.org" "Tasks")
          "* TODO %^{description}%?\n %T %i\n %a")))

and when pressing C-c c g I am prompted for a descpription. But after putting it in and hitting return, I am still taken to the file gcal. how can I achieve that the text I enter in the minibuffer is just combined with the current date and put into the gcal file without putting me in the capture template buffer?

1

Adding the property :immediate-finish will have the desired effect:

https://orgmode.org/manual/Template-elements.html

:immediate-finish: "When set, do not offer to edit the information, just file it away immediately. This makes sense if the template only needs information that can be added automatically."

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.