Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a Cocoa keyboard map for single-line scrolling' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a Cocoa keyboard map for single-line scrolling
Authored by: interlard on Aug 29, '05 10:49:53AM

I'm sorry that this is a stupid question, but I'm going to ask anyway:

Is this an emacs-only hint, or will it keep my cursor on the screen, so that when I page down in ANY application, the cursor will not get left behind?

I love Macs (I switched-back a few years ago) but I find the leaving-the-curor-behind approach to be of no value. I need to use the keyboard a fair bit to avoid wrist and finger stress from too much mouse use, and my Mac isn't helping me as much as it could.

Thanks!



[ Reply to This | # ]
Having page up/down move the cursor
Authored by: sabi on Aug 29, '05 11:09:58AM
It looks like the default Cocoa text bindings to keep the insertion point with the scroll position are option-page up/down. If you want to bind these to ordinary page up/down, you can do so with:

        "\UF72C" = "pageUp:";
        "\UF72D" = "pageDown:";


[ Reply to This | # ]
Having page up/down move the cursor
Authored by: sabi on Aug 29, '05 11:09:58AM
It looks like the default Cocoa text bindings to keep the insertion point with the scroll position are option-page up/down. If you want to bind these to ordinary page up/down, you can do so with:

        "\UF72C" = "pageUp:";
        "\UF72D" = "pageDown:";


[ Reply to This | # ]