emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Darlan Cavalcante Moreira <darcamo@gmail.com>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: shortcut to create a heading already with todo included
Date: Tue, 23 Jul 2013 15:49:41 -0300	[thread overview]
Message-ID: <87ehap9kmy.fsf@gmail.com> (raw)
In-Reply-To: <CAA01p3qgOmw7C2aiwvZE4-gYv9RZBi=dqiiWLJnsfPnY0Q0BNQ@mail.gmail.com>


Capture is the way to go for a general (and anyware) way to create
TODOs. But for something simple, you can use <M-return> to create a new
headline in org-mode and <M-S-return> to create a headline with a TODO.

-- 
Darlan Cavalcante Moreira
darcamo@gmail.com


ohwoeowho@gmail.com writes:

> Hi,
>
> This task is handled with capture templates.
> Here's how I do it:
>
> (setq org-capture-templates
>     '(("t" "Todo" entry (file+headline (concat org.d "gtd.org") "Tasks")
>         "* TODO %^{Brief Description} %^g\n%?\nAdded: %U  %i\n")
>     ;; more templates here
> ))
>
> (global-set-key (kbd "C-~") 'org-capture)
>
> regards,
> Oleh
>
>
> On Tue, Jul 23, 2013 at 2:48 PM, Xebar Saram <zeltakc@gmail.com> wrote:
>> Hya guys
>>
>> i know this is probably a silly question but does anyone know how to make a
>> shortcut that inserts a heading which already includes a TODO state?
>>  i have a main file named todo.org in which all heading are todos. each time
>> i need to do a 2 step process: add heading and then add a todo state, so im
>> looking for a quicker way to add a todo item (IE a keybind to add a already
>> todo header).
>>
>> another better solution if possible would be maybe reassign the C-Enter
>> keybind to create a todo header only in a specific file (todo.org) if thats
>> possible?
>>
>> thx alot in advance
>>
>> Z

      reply	other threads:[~2013-07-23 18:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-23 12:48 shortcut to create a heading already with todo included Xebar Saram
2013-07-23 13:26 ` Oleh
2013-07-23 18:49   ` Darlan Cavalcante Moreira [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ehap9kmy.fsf@gmail.com \
    --to=darcamo@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=zeltakc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).