Page 1 of 1

Menu key shortcuts

Posted: 2007-12-14 08:17:16
by Thomas C. Wolfe
Does anyone know if it is possible to assign keyboard shortcuts for menu keys without using the Command key on every shortcut? For example, I would like to program Cntrl-R as delete previous word, but I have to use the Command-Cntrl-R as it is now.

Re: Menu key shortcuts

Posted: 2007-12-14 08:49:46
by Hamid
Thomas C. Wolfe wrote:I would like to program Cntrl-R as delete previous word, but I have to use the Command-Cntrl-R as it is now.
You can use the default Cocoa app shortcut Option-Delete to delete backward one word.

thanks, but..

Posted: 2007-12-14 09:00:03
by Thomas C. Wolfe
as an old Wordstar user, I want to do everything from the home keys and I'm used to the old wordstar shortcuts

Re: Menu key shortcuts

Posted: 2007-12-16 08:52:48
by gemboy27
Thomas C. Wolfe wrote:Does anyone know if it is possible to assign keyboard shortcuts for menu keys without using the Command key on every shortcut? For example, I would like to program Cntrl-R as delete previous word, but I have to use the Command-Cntrl-R as it is now.
To answer your question directly -- No.

one thing you could do is invest in a key redefining program

I have iKey and love it. I don't use it for the reason you are asking, mostly for opening programs.

Re: Menu key shortcuts

Posted: 2008-09-26 10:17:22
by Kino
Thomas C. Wolfe wrote:Does anyone know if it is possible to assign keyboard shortcuts for menu keys without using the Command key on every shortcut? For example, I would like to program Cntrl-R as delete previous word, but I have to use the Command-Cntrl-R as it is now.
Yes, you can.

1. Download
KeyBindings.zip
(1.33 KiB) Downloaded 659 times
and unzip it;

2. If you don't have "/Users/you/Library/KeyBindings" folder, just create it;

3. Put "DefaultKeyBinding.dict" (you'll find in the unzipped zip archive) in "/Users/you/Library/KeyBindings/";

4. Key bindings below should be available in any newly launched decent *Cocoa* applications. (Carbon is unuseable for me just because it's not Cocoa ;-)

Instead of the steps 2 and 3, you can just put "KeyBindings" folder in the zip archive in your "/Users/you/Library/".

"DefaultKeyBinding.dict" is a text file you can modify as you like. See http://www.hcs.harvard.edu/~jrus/Site/C ... ystem.html.

The easiest way to customize Cocoa keybindings would be to use KeyBindingsEditor.app http://www.cocoabits.com/KeyBindingsEditor/.

See http://www.cocoabits.com/KeyBindingsEdi ... index.html for the on-line manual.

See http://developer.apple.com/documentatio ... SResponder to know what functions you can define in your DefaultKeyBinding.dict.
as an old Wordstar user, I want to do everything from the home keys and I'm used to the old wordstar shortcuts
Me too ;-) I have never used WordStar but its key bindings were the standard when I began to use a computor.

===

ctrl-d: move to right
ctrl-s: move to left
ctrl-e: move up
ctrl-x: move down

ctrl-f: move to word right
ctrl-a: move to word left

ctrl-shift-d: select a character right
ctrl-shift-s: select a character left
ctrl-shift-e: select a character up
ctrl-shift-x: select a character down

ctrl-shift-f: select a word right
ctrl-shift-a: select a word left

ctrl-i: insert tab
ctrl-m: insert newline

ctrl-g: delete forward
ctrl-h: delete backward
ctrl-k: delete to the end of paragraph
ctrl-t: delete a word forward
ctrl-r: delete a word backward