[TxMt] Alt-up/down ... and some other navigation stuff
Ed Singleton
singletoned at gmail.com
Thu Apr 5 14:28:49 UTC 2007
On 4/5/07, Charilaos Skiadas <skiadas at hanover.edu> wrote:
> On Apr 5, 2007, at 9:36 AM, Magnus Lie Hetland wrote:
>
> > Is there any more in-depth explanation anywhere about what alt-up/
> > down really does? I understand there's some sort of columnar
> > behavior, but when I use it in prose text, it seems to behave in a
> > rather baffling manner to me... I've been looking for an equivalent
> > to the (IMO very useful) ctrl-up/down functionality in Emacs (next
> > paragraph, or, rather, next empty line, basically) and thought
> > perhaps this might work somewhat like that -- and it seems to, if I
> > move to the beginning of the line first. (OK, so the "next
> > paragraph" functionality is a question of its own, I guess; is
> > there something like it?)
> >
> > And while I'm on the topic of navigation (and things I miss from
> > Emacs ;-) -- if I accidentally press cmd-up or down, I completely
> > lose my current location. Any way of "undoing" something like that?
> > (In Emacs I used alt-x x or something like that, to switch position
> > with the position before the navigation.) It's not always that I
> > remember to set a bookmark before this sort of thing -- mainly
> > because it tends to be accidental :->
> >
> I usually just press Undo + Redo for this. Doesn't always work ;)
> I have also often wished for an undo stuck for caret location.
I do this too, but having just this morning read Jacob Rus's amazing
articles on Cocoa Keybindings [1], one could potentially override
cmd-up to be insert mark, go to beginning of document. Then if you
want to jump back you can use go to mark. That would then work in
every cocoa application.
The incremental search in every app, and the Emacs ctrl-u repeating
thing are amazing. I only tried out Emacs for two days, and even in
that short time I got addicted to ctrl-u, ctrl-v and alt-v.
Ed
[1] http://www.macosxhints.com/article.php?story=20060317045211408
More information about the textmate
mailing list