[X4U] Forward delete on powerbook

peter.frings at agfa.com peter.frings at agfa.com
Mon Dec 20 01:33:25 PST 2004


on 2004/12/17 14:44, Mark wrote:

> At home I have a slot loading iMac DV and it
> just drives me nuts not having the forward delete key that is available
> on the extended keyboard. But I don't have an "Fn" key on it either.
> (is that a powerbook only key?) Do I have any options?

The 'Fn' key is powerbook only. But I guess you can assign a key-combo (e.g.
Ctrl-Delete or similar) via 'key bindings' (found in the KeyBindinds folder
in your Libray: ~/Library/KeyBindings/DefaultKeyBinding.dict). This works
for Cocoa apps only.

Add something like this (not tested!) to the DefaultKeyBinding.dict file:

   "^\010" = "deleteForward:";  /* Control-Backspace */
   "~\010" = "deleteWordBackward:";  /* Option-backspace */
   "~^\010" = "deleteWordForward:";  /* Option-Control-Backspace */


Use ³^² for control, ³~² for Option, ³$² for Shift, and ³#² for numeric
keypad.

I think you only need to restart the application to activate the new
bindings; if not, log out and back in again.


See also:

<http://developer.apple.com/documentation/Cocoa/Conceptual/BasicEventHandlin
g/Tasks/TextDefaultsAndBindings.html#//apple_ref/doc/uid/20000468/611005>

Cheers,
Peter.




More information about the X4U mailing list