<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title></title>
<style type="text/css">
address.c1 {font-family: sans-serif; font-style: italic; font-size: smaller;}
        </style>
<p> Mai Thomas wrote: </p>
<blockquote cite="mid:5A4D37E6-9483-4935-97CA-E1C60E40CCBB@tommai.de"
 type="cite"> Can I make the cursor follow when I've done some
scrolling via Page-Up/Page-Down? </blockquote>
<p> You can change this globally for all standard apps (including
TextMate) by creating a custom keybindings file at <tt>~/Library/KeyBindings/DefaultKeyBinding.dict</tt>.
By default OSX maps the PageUp and PageDown keys to the 'scrollPageUp:'
and 'scrollPageDown:' actions. The behavior you want is simply
'pageUp:' and 'pageDown:'. </p>
<p> Here's my <tt>DefaultKeyBinding.dict</tt>, which fixes Home and
End too. See <a
 href="http://www.lsmason.com/articles/macosxkeybindings.html">http://www.lsmason.com/articles/macosxkeybindings.html</a>
and <a href="http://manual.macromates.com/en/key_bindings">http://manual.macromates.com/en/key_bindings</a>
for all the gory details. </p>
<blockquote>
  <pre>{
    /* home */
    "\UF729"   = "moveToBeginningOfLine:";
    "^\UF729"  = "moveToBeginningOfDocument:";
    "$\UF729"  = "moveToBeginningOfLineAndModifySelection:";
    "^$\UF729" = "moveToBeginningOfDocumentAndModifySelection:";

    /* end */
    "\UF72B"   = "moveToEndOfLine:";
    "^\UF72B"  = "moveToEndOfDocument:";
    "$\UF72B"  = "moveToEndOfLineAndModifySelection:";
    "^$\UF72B" = "moveToEndOfDocumentAndModifySelection:";

    /* page up/down */
    "\UF72C"  = "pageUp:";
    "\UF72D"  = "pageDown:";
}
  </pre>
</blockquote>
<div class="moz-signature"> --<br>
<address class="c1"> Steve King<br>
Sr. Software Engineer<br>
Arbor Networks<br>
+1 734 821 1461<br>
<a href="http://www.arbornetworks.com/">www.arbornetworks.com</a> </address>
</div>
</body>
</html>