From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Re: Using shift and arrow keys to select lines in Aquamacs (in org-mode) Date: Tue, 10 Nov 2009 23:03:06 +0100 Message-ID: <87aayuyr51.fsf@gmx.de> References: <1e7471d50911101114q7f3a3717x9c97b7eca3c9c9b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7yo5-0008Dt-Kb for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 17:03:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7yo0-000829-Ma for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 17:03:20 -0500 Received: from [199.232.76.173] (port=37062 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7yo0-00081n-8a for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 17:03:16 -0500 Received: from mail.gmx.net ([213.165.64.20]:59555) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1N7ynz-0007hP-GR for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 17:03:15 -0500 In-Reply-To: (J. David Boyd's message of "Tue, 10 Nov 2009 16:10:11 -0500") 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 david@adboyd.com (J. David Boyd) writes: > Saptarshi Guha 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). How about get used to Emacs keys for this purpose: C-SPACE UP C-SPACE set's a mark and moving point extends the region. The big advantage is, that you can use all moving commands Emacs provides (`M-f', `M-b'...) Some keys/functions select text directly: M-h - mark-paragraph C-x C-p - mark-page M-x mark- TAB - show all marking commands Also, if you do not use org-mouse, you could use the left and right mouse button - optionally holding down the ALT key for a secondary selection. Pressing the middle button inserts the selection, with ALT the secondary one. While selecting, you can extend and narrow the selection in either direction be pressing the right button repeatedly. Right double-click cuts. Some of this depends on your setting of the variable `transient-mark-mode', which you can customize. Sebastian