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: Xebar Saram
Subject: Re: [O] switch M-RET and C-RET in org mode with no sucess
Date: Wed, 12 Aug 2015 18:33:42 +0300

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]