I found this approach to context aware key bindings useful: http://endlessparentheses.com/define-context-aware-keys-in-emacs.html
Marcin Borkowski writes: > On 2016-05-09, at 16:57, Kaushal Modi <kaushal.m...@gmail.com> wrote: > >> On Mon, May 9, 2016 at 10:47 AM Bill White <bi...@wolfram.com> wrote: >> >>> Now if only one could bind these to more-convenient keys than M-{ and >>> M-} when in a plain list. >> >> >> Now only if emacs allowed changing the default key bindings :P :) >> >> Check out C-h f define-key >> >> (define-key org-mode-map (kbd "KEY") #'COMMAND) > > 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. > > Best, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu