First, I really like TextMate. It's clean and extensible (in a nice, well-behaved way). It has numerous features quickly becoming part of my muscle memory.
Though, there's one aspect I can't get my intuitive head around: PageUp/Down. Often times I feel as if I've landed somewhere quite different from what I expected - TextMate seems to like to re-center things or treat the current line (that with the caret) as if it were the center line (it's often not) and move things accordingly. Is there a keybinding or some other default I can set to make PageUp/ Down actually move one page up/down based solely on the visible lines, not the location of the caret? (Move PageUp/Down would then, either re-center the caret on the new page or place it at the same relative location.)
Thanks!
Brendan Dixon brendandixon@mac.com 425.922.8798
On 21. Feb 2007, at 19:36, Brendan Dixon wrote:
[...] Is there a keybinding or some other default I can set to make PageUp/Down actually move one page up/down based solely on the visible lines, not the location of the caret? (Move PageUp/Down would then, either re-center the caret on the new page or place it at the same relative location.)
The default behavior is to move exactly one page up/down without moving the caret (look at the scrollbar for the exact distance moved).
You can change it e.g. to move the caret as well [1]. Could it be, that you already changed this, but moved the movePageUp:/ movePageDown: selectors? If so, you get a third behavior, where caret will first move to the screen boundaries, and then move a page.
[1] http://macromates.com/blog/archives/2005/07/05/key-bindings-for- switchers/