28 Feb 2012 22:16
Re: shift-select support AND org-mode features?
Peter Salazar <cycleofsong <at> gmail.com>
2012-02-28 21:16:51 GMT
2012-02-28 21:16:51 GMT
I was able to get this working using by disabling cua mode and using org-replace-disputed keys. Now I can change timestamps and still use shift-select.
Unfortunately, this breaks the OSX behavior of option-shift-select, for selecting whole words at a time. (This instead actives "set mark.")
As an editor, I'm cutting and pasting words and sentences all the time, and option-select is an important part of my workflow since it allows me to quickly highlight by word.
Is there a solution that will preserve my ability to use option-shift-select? I thought maybe if I key-bound "change timestamp" to CTRL-rightarrow, I could reserve shift for editing.
Anyone know if this is possible?
On Wed, Feb 22, 2012 at 4:25 AM, Alan Schmitt <alan.schmitt <at> polytechnique.org> wrote:
On 22 Feb 2012, at 6:55, Peter Salazar wrote:What I ended up doing is:I need shift-select to be able to select text, since that's crucial to my
editing workflow. But I'd also like to be able to use org-mode's
shift-arrowkeys functions, the way you can use shift-rightarrow to change
timestamps or to cycle between TODO states.
Is there a way to map these functions onto the CONTROL key, or better yet,
the FN key? So that CONTROL-rightarrow or FN-rightarrow would change the
timestamp and cycle TODO states?
- turn off cua mode
- turn on org-support-shift-select (should be on by default)
This way shift-select works in text, and shift arrow works in headlines and timestamps.
You can find a discussion about this here:
There may be a way to bind "fn-rightarrow", but you then need to actually bind the "end" key directly. Here is what I do (I use fn as meta key, so I'm binding to different things):
(define-key org-mode-map [kp-enter] 'org-meta-return)
(define-key org-mode-map [prior] 'org-metaup)
(define-key org-mode-map [next] 'org-metadown)
(define-key org-mode-map [home] 'org-metaleft)
(define-key org-mode-map [end] 'org-metaright)
Hope this helps,
MacOSX-Emacs mailing list
MacOSX-Emacs <at> email.esm.psu.edu
List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
_____________________________________________________________ MacOSX-Emacs mailing list MacOSX-Emacs <at> email.esm.psu.edu http://email.esm.psu.edu/mailman/listinfo/macosx-emacs List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx