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 :->
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.
-- Magnus Lie Hetland http://hetland.org
Haris Skiadas Department of Mathematics and Computer Science Hanover College
On 4/5/07, Charilaos Skiadas skiadas@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
On 5. Apr 2007, at 15:36, 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?)
The explanation is here http://macromates.com/textmate/manual/ working_with_text#column_movement_typing
And this screencast shows it in action with some commenting: http:// macromates.com/blog/archives/2006/04/22/working-with-numbers/
On Apr 5, 2007, at 22:29, Allan Odgaard wrote:
The explanation is here http://macromates.com/textmate/manual/ working_with_text#column_movement_typing
And this screencast shows it in action with some commenting: http:// macromates.com/blog/archives/2006/04/22/working-with-numbers/
Hm. I didn't see any explanation in the manual (the first of your URLs); maybe I didn't look hard enough? But the explanation in the screencast certainly made sense. Somewhat hard to puzzle out that rule for oneself, though, by playing with paragraphs of text :)