From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: shortcut to create a heading already with todo included Date: Tue, 23 Jul 2013 15:49:41 -0300 Message-ID: <87ehap9kmy.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1hed-0008P9-2Y for emacs-orgmode@gnu.org; Tue, 23 Jul 2013 14:49:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1heb-0003E8-G4 for emacs-orgmode@gnu.org; Tue, 23 Jul 2013 14:49:47 -0400 Received: from mail-ye0-x231.google.com ([2607:f8b0:4002:c04::231]:40435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1heb-0003E1-CE for emacs-orgmode@gnu.org; Tue, 23 Jul 2013 14:49:45 -0400 Received: by mail-ye0-f177.google.com with SMTP id m4so1065833yen.8 for ; Tue, 23 Jul 2013 11:49:44 -0700 (PDT) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode Capture is the way to go for a general (and anyware) way to create TODOs. But for something simple, you can use to create a new headline in org-mode and 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 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