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 wrote: > Maybe try using instead of RET? Something like this: > > (define-key org-mode-map (kbd "") 'org-insert-heading) > > > On Tue, Aug 11, 2015 at 1:45 PM, Xebar Saram 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 >> > >