|
From: | Carsten Dominik |
Subject: | Re: [Orgmode] Shift-Arrow Pass Through for windmove? |
Date: | Fri, 23 Apr 2010 20:54:53 +0200 |
On Apr 23, 2010, at 6:12 PM, Sebastian Rose wrote:
Daniel E. Doherty <address@hidden> writes:All,I make *very* frequent use of the shift-arrow keys to move from window to window inside emacs via windmove. It is probably the most frequentkey combination I access.Anyway, is there a way to make org-mode friendlier to it by passing thekey along whenever org-mode would otherwise throw an error. Forexample, when not on a heading, when in the agenda, and wherever else?I really like Carsten's use of the arrow keys for structure editing anddon't want to lose that, just whenever org-mode can't make use of the keys. Regards,And here all the arrow keys. It's somewhat inelegant, since you always need to keep track of new useful org-bindings. I would find an org-internal solution helpfull too. I use windmove.
I have now added (defvar org-shiftup-hook nil "Hook for functions attaching themselves to `S-up'. See `org-ctrl-c-ctrl-c-hook' for more information.") (defvar org-shiftdown-hook nil "Hook for functions attaching themselves to `S-down'. See `org-ctrl-c-ctrl-c-hook' for more information.") (defvar org-shiftleft-hook nil "Hook for functions attaching themselves to `S-left'. See `org-ctrl-c-ctrl-c-hook' for more information.") (defvar org-shiftright-hook nil "Hook for functions attaching themselves to `S-right'. See `org-ctrl-c-ctrl-c-hook' for more information.")But I do not intend to attach specific functionality like windmove to them,
and I'd like to reserve the possibility to make S-cursor do something in Org in more contexts. Hope this still helps. - Carsten
Actually, your email made hack this together :) <mime-attachment> Sebastian _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. address@hidden http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
[Prev in Thread] | Current Thread | [Next in Thread] |