Hi Rasmus,

On Mon, May 18, 2015 at 05:39:36PM +0200, Rasmus wrote:
> Suvayu Ali <fatkasuvayu+li...@gmail.com> writes:
> 
> > As for Rasmus's examples of similar behaviour in other modes, I don't
> > like them either.  Unfortunately again, I'm too short on time to fix the
> > behaviour in my setup.
> 
> So far nobody has felt strongly enough about this to supply a patch, even
> to org.texi or, I think, worg.
> 
> Here's an untested start to get rid of those pesky Microsoftesque detail
> in org-mode
> 
> (with-eval-after-load 'org
>   (add-hook 'org-mode-hook
>             (defun org-keyboard-purist ()
>             (org-defkey org-mode-map (kbd "RET") nil)
>             (mapc (lambda (key)
>                     (org-defkey org-mode-map key nil))
>                   (list [(control return)]
>                         [(shift control return)]
>                         [(meta return)])))))

I didn't realise it is this simple!  I'm always afraid of fiddling with
Org key bindings because of all the context sensitive magic going on.

Thank you.

-- 
Suvayu

Open source is the future. It sets us free.

Reply via email to