From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?=C5=81ukasz_Stelmach?= Subject: Re: Shortcut for adding text item? Date: Fri, 19 Feb 2010 00:07:31 +0100 Message-ID: <87635up2h8.fsf@dasa3.iem.pw.edu.pl> References: <211769421002181028n72f53fet9848b20cd544f95d@mail.gmail.com> <4B7D8DF6.3050204@cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NiFTH-00046O-Jk for emacs-orgmode@gnu.org; Thu, 18 Feb 2010 18:07:47 -0500 Received: from [140.186.70.92] (port=48256 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiFTG-00045w-El for emacs-orgmode@gnu.org; Thu, 18 Feb 2010 18:07:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NiFTF-0005ZL-Fs for emacs-orgmode@gnu.org; Thu, 18 Feb 2010 18:07:46 -0500 Received: from lo.gmane.org ([80.91.229.12]:59809) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiFTF-0005ZF-B3 for emacs-orgmode@gnu.org; Thu, 18 Feb 2010 18:07:45 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NiFTD-0006uM-9N for emacs-orgmode@gnu.org; Fri, 19 Feb 2010 00:07:43 +0100 Received: from dasa3.iem.pw.edu.pl ([194.29.147.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Feb 2010 00:07:43 +0100 Received: from lukasz.stelmach by dasa3.iem.pw.edu.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Feb 2010 00:07:43 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Stephan Schmitt writes: > Also sprach Nathan Neff: >> For example, I have a headline, with the cursor at position: >> >> * Something >> >> And I want to add a text line under the heading, with proper indentation. >> >> Currently, I press Ctrl-E, then Return, but I'd like to have a >> shortcut like M-j or something like that. > put this in your dotemacs file: > > (eval-after-load "org" > '(org-defkey org-mode-map (kbd "M-j") > (lambda () (interactive) (end-of-line) (org-return-indent)))) > How about unfolding subtree? -- Miłego dnia, Łukasz Stelmach