[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: Shortcut for adding text item?

From: Stephan Schmitt
Subject: Re: [Orgmode] Re: Shortcut for adding text item?
Date: Fri, 19 Feb 2010 10:53:56 +0100
User-agent: Thunderbird (X11/20091006)

Hi Łukasz,

> Stephan Schmitt <address@hidden> writes:
>> Also sprach Nathan Neff:
>>> For example, I have a headline, with the cursor at <cursor> position:
>>> * Some<cursor>thing
>>> 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))))

Also sprach Łukasz Stelmach:
> How about unfolding subtree?

good point...

(org-defkey org-mode-map (kbd "M-j")
            '(lambda () (interactive)
               (org-show-subtree) (end-of-line) (org-return-indent)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]