Hi Łukasz,
> Stephan Schmitt <[email protected]> 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)))
Greetings,
Stephan
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode