help-gnu-emacs
[Top][All Lists]
Advanced

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

Customize the key bindings in the org mode


From: Volker Wysk
Subject: Customize the key bindings in the org mode
Date: Thu, 07 Mar 2024 11:41:27 +0100
User-agent: Evolution 3.44.4-0ubuntu2

Hi!

I know how to change key bindings globally. But how can I customize the
bindings for just a specific major mode? More precisely, the org mode.

I found something on the web and adapted it:

(with-eval-after-load "org"  (define-key org-mode-map [M-down] #'absatz-vor)

But this doesn't work, because the org-mode-map is nil. Seems like that's
because org-mode hasn't been read yet, in the ~/.emacs file.

So how should I do it?

TIA

Cheers,
Volker



reply via email to

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