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: Peter Salazar
Subject: Re: [O] switch M-RET and C-RET in org mode with no sucess
Date: Tue, 11 Aug 2015 23:22:21 -0400

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]