emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] switch M-RET and C-RET in org mode with no sucess


From: Grant Rettke
Subject: Re: [O] switch M-RET and C-RET in org mode with no sucess
Date: Sat, 15 Aug 2015 08:57:49 -0500

http://ergoemacs.org/emacs/emacs_key_notation_return_vs_RET.html
Grant Rettke
--
address@hidden | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
“All creativity is an extended form of a joke.” --Kay
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson


On Wed, Aug 12, 2015 at 10:33 AM, Xebar Saram <address@hidden> wrote:
> Thx Peter
>
> that did the trick, never know when to use RET or return :)
>
> z
>
> On Wed, Aug 12, 2015 at 6:22 AM, Peter Salazar <address@hidden>
> wrote:
>>
>> Maybe try using <return> instead of RET? Something like this:
>>
>> (define-key org-mode-map (kbd "<C-return>") 'org-insert-heading)
>>
>>
>> On Tue, Aug 11, 2015 at 1:45 PM, Xebar Saram <address@hidden> wrote:
>>>
>>> Hi guys
>>>
>>> im trying to switch between C-RET and M-RET (i use M-ret alot more but
>>> C-RET is much more accessible for me :)) but i dont seem to have any success
>>> in doing so
>>>
>>> this is what i have so far
>>>
>>> (with-eval-after-load "org"
>>> (define-key org-mode-map (kbd "C-RET") 'org-insert-heading)
>>> (define-key org-mode-map (kbd "M-RET")
>>> 'org-insert-heading-respect-content)
>>> )
>>>
>>> any ideas what im doing wrong? after reloading emacs C-RET still defaults
>>> to org-insert-heading-respect-content
>>>
>>> best
>>>
>>> Z
>>
>>
>



reply via email to

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