emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: PT <spamfilteraccount@gmail.com>
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 05:14:33 +0000 (UTC)	[thread overview]
Message-ID: <loom.20091111T061331-765@post.gmane.org> (raw)
In-Reply-To: 1e7471d50911101114q7f3a3717x9c97b7eca3c9c9b@mail.gmail.com

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)
  ...

  parent reply	other threads:[~2009-11-11  5:15 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 [this message]
2009-11-11 14:05   ` J. David Boyd
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

  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=loom.20091111T061331-765@post.gmane.org \
    --to=spamfilteraccount@gmail.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 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).