[TxMt] Re: cursor doesn't follow page up / down

Allan Odgaard mailinglist at textmate.org
Sun Jan 30 12:01:55 UTC 2011

On 30 Jan 2011, at 01:30, Patrick Cullen wrote:

> Hello.  I would like the cursor to follow me when I hit page up and down.  I
> don't want to remember to hit the ctrl key.  I have followed these
> instructions:
> http://blog.macromates.com/2005/key-bindings-for-switchers/
> But they don't seem to work for Textmate.   Other apps (XCode, Textedit ...)
> behave as expected with the Keybinding set (the cursor nicely follows as the
> page scrolls), but with Textmate the cursor jumps around unpredictably,
> sometimes in the wrong direction.  Anybody know whats up?

Do you have smooth scroll enabled in System Preferences → Appearance?

If so, disable it at least for TextMate by quit’ing it and running this in Terminal:

    defaults write com.macromates.textmate AppleScrollAnimationEnabled -bool NO

There is a problem with the heuristic Apple uses for this smooth scroll where the target rectangle TextMate asks AppKit to scroll to is “augmented”, leading to this seemingly random behavior.

More information about the textmate mailing list