emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Using shift and arrow keys to select lines in Aquamacs (in


From: J. David Boyd
Subject: [Orgmode] Re: Using shift and arrow keys to select lines in Aquamacs (in org-mode)
Date: Wed, 11 Nov 2009 09:05:17 -0500
User-agent: Gnus/5.1299999999999999 (Gnus v5.13) Emacs/23.1 (cygwin)

PT <address@hidden> 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...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]