emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: emacs-orgmode@gnu.org, Bill White <billw@wolfram.com>,
	Kaushal Modi <kaushal.modi@gmail.com>
Subject: Re: speed keys for plain lists?
Date: Mon, 09 May 2016 12:58:16 -0400	[thread overview]
Message-ID: <m2r3dbyxqv.fsf@Johns-MacBook-Air.local> (raw)
In-Reply-To: <87eg9bck3t.fsf@mbork.pl>

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.modi@gmail.com> wrote:
>
>> On Mon, May 9, 2016 at 10:47 AM Bill White <billw@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

  reply	other threads:[~2016-05-09 16:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-09 11:30 speed keys for plain lists? Bill White
2016-05-09 14:15 ` Bill White
2016-05-09 14:57   ` Kaushal Modi
2016-05-09 15:43     ` Marcin Borkowski
2016-05-09 16:58       ` John Kitchin [this message]
2016-05-09 17:27       ` Kaushal Modi
     [not found]       ` <153f4aedb6cc4ab181e9a168513c4a49@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-05-09 18:44         ` Eric S Fraga
2016-05-09 19:59           ` Bill White
2016-05-10  8:21             ` Karl Voit
2016-05-12 17:12               ` Bill White
2016-05-16 18:17                 ` Grant Rettke
2016-05-17 11:46                   ` Karl Voit
2016-05-17 15:54                   ` Bill White
2016-05-18  7:30                     ` Karl Voit
2016-05-19  2:48                     ` Grant Rettke
     [not found] ` <ccf2f9fe1b2e4df7a1dd48a046c6a86a@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-05-09 15:19   ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2r3dbyxqv.fsf@Johns-MacBook-Air.local \
    --to=jkitchin@andrew.cmu.edu \
    --cc=billw@wolfram.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kaushal.modi@gmail.com \
    --cc=mbork@mbork.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).