emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] speed keys for plain lists?


From: Kaushal Modi
Subject: Re: [O] speed keys for plain lists?
Date: Mon, 09 May 2016 17:27:36 +0000

On Mon, May 9, 2016 at 11:43 AM Marcin Borkowski <address@hidden> wrote:
I guess that OP would like some key to do this only when in plain list.
It's slightly less easy then, and the preferred way (advice/new
function/maybe some hook) might depend on the particular choice of the
keys.

Right, the define-key solution was under the assumption that M-{ and M-} already do what the OP needs.

They are bound to org-backward-element and org-forward-element by default in org-mode-map. So if M-{/M-} already does what he want, he can simply bind the same commands to keys of his liking.

Actually org uses org-defkey instead of define-key for these bindings. But they are not context-aware keys; they apply to org-mode-map:

http://orgmode.org/cgit.cgi/org-mode.git/tree/lisp/org.el?id=8127b3c30d8a2217468068a73f23bfa4945573dc#n19895 
--

--
Kaushal Modi


reply via email to

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