all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Customize the key bindings in the org mode
@ 2024-03-07 10:41 Volker Wysk
  2024-03-07 12:59 ` Michel Verdier
  2024-03-08  0:37 ` Michael Heerdegen via Users list for the GNU Emacs text editor
  0 siblings, 2 replies; 7+ messages in thread
From: Volker Wysk @ 2024-03-07 10:41 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-03-09 10:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-07 10:41 Customize the key bindings in the org mode Volker Wysk
2024-03-07 12:59 ` Michel Verdier
2024-03-07 13:13   ` Volker Wysk
2024-03-08  0:37 ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-03-08 11:35   ` Arash Esbati
2024-03-09  0:01     ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-03-09 10:35       ` Arash Esbati

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.