From mboxrd@z Thu Jan 1 00:00:00 1970 From: PT 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) Message-ID: References: <1e7471d50911101114q7f3a3717x9c97b7eca3c9c9b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N85Xx-0007N7-Uw for emacs-orgmode@gnu.org; Wed, 11 Nov 2009 00:15:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N85Xs-0007KX-AZ for emacs-orgmode@gnu.org; Wed, 11 Nov 2009 00:15:08 -0500 Received: from [199.232.76.173] (port=54069 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N85Xs-0007KN-5m for emacs-orgmode@gnu.org; Wed, 11 Nov 2009 00:15:04 -0500 Received: from lo.gmane.org ([80.91.229.12]:43192) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N85Xr-00067a-PW for emacs-orgmode@gnu.org; Wed, 11 Nov 2009 00:15:04 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1N85Xn-0003Yc-Pj for emacs-orgmode@gnu.org; Wed, 11 Nov 2009 06:14:59 +0100 Received: from 94-21-242-132.pool.digikabel.hu ([94.21.242.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Nov 2009 06:14:59 +0100 Received: from spamfilteraccount by 94-21-242-132.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Nov 2009 06:14:59 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Saptarshi Guha 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-") 'forward-word-mark) (local-set-key (kbd "C-S-") 'backward-word-mark) (local-set-key (kbd "S-") 'forward-char-mark) (local-set-key (kbd "S-") 'backward-char-mark) (local-set-key (kbd "S-") 'previous-line-mark) (local-set-key (kbd "S-") 'next-line-mark) ...