From: david@adboyd.com (J. David Boyd)
To: emacs-orgmode@gnu.org
Subject: Re: Using shift and arrow keys to select lines in Aquamacs (in org-mode)
Date: Wed, 11 Nov 2009 09:05:17 -0500 [thread overview]
Message-ID: <e8rpr7pw40y.fsf@FLM000025LVE9F.catmktg.com> (raw)
In-Reply-To: loom.20091111T061331-765@post.gmane.org
PT <spamfilteraccount@gmail.com> writes:
> Saptarshi Guha <saptarshi.guha <at> gmail.com> writes:
>
>>
>> Hello,
>> I know shift and arrow keys are used by org-mode. But is there a way
>> to remap them to selecting the line(as in Aquamacs text mode)
>> (e.g shift+down highlights the current line, shift+up highlights the
>> previous line etc).
>>
>
> I rebound the keys in my org-mode hook:
>
>
>
> (add-hook 'org-mode-hook 'my-org-mode-stuff)
>
> (defun my-org-mode-stuff ()
> ...
> (local-set-key (kbd "C-S-<right>") 'forward-word-mark)
> (local-set-key (kbd "C-S-<left>") 'backward-word-mark)
> (local-set-key (kbd "S-<right>") 'forward-char-mark)
> (local-set-key (kbd "S-<left>") 'backward-char-mark)
> (local-set-key (kbd "S-<up>") 'previous-line-mark)
> (local-set-key (kbd "S-<down>") 'next-line-mark)
> ...
>
But that breaks S-<up> modifying the priority on a task, as well as
other built-in org functionality...
next prev parent reply other threads:[~2009-11-11 14:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-10 19:14 Using shift and arrow keys to select lines in Aquamacs (in org-mode) Saptarshi Guha
2009-11-10 21:10 ` J. David Boyd
2009-11-10 21:17 ` Saptarshi Guha
2009-11-10 22:03 ` Sebastian Rose
2009-11-10 22:11 ` Saptarshi Guha
2009-11-10 22:41 ` Darlan Cavalcante Moreira
2009-11-11 5:14 ` PT
2009-11-11 14:05 ` J. David Boyd [this message]
2009-11-11 14:34 ` PT
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e8rpr7pw40y.fsf@FLM000025LVE9F.catmktg.com \
--to=david@adboyd.com \
--cc=emacs-orgmode@gnu.org \
/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 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.