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: John Kitchin
Subject: Re: [O] speed keys for plain lists?
Date: Mon, 09 May 2016 12:58:16 -0400
User-agent: mu4e 0.9.16; emacs 25.1.50.1

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 <address@hidden> wrote:
>
>> On Mon, May 9, 2016 at 10:47 AM Bill White <address@hidden> 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



reply via email to

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