From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Subject: Re: shortcut to create a heading already with todo included Date: Tue, 23 Jul 2013 15:26:58 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1ccI-0000eb-7e for emacs-orgmode@gnu.org; Tue, 23 Jul 2013 09:27:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1ccF-0007vF-ID for emacs-orgmode@gnu.org; Tue, 23 Jul 2013 09:27:02 -0400 Received: from mail-bk0-x229.google.com ([2a00:1450:4008:c01::229]:37910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1ccF-0007v6-BV for emacs-orgmode@gnu.org; Tue, 23 Jul 2013 09:26:59 -0400 Received: by mail-bk0-f41.google.com with SMTP id jc3so2983619bkc.0 for ; Tue, 23 Jul 2013 06:26:58 -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 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