osx - How to bind numeric keypad keys in TextMate? -
i use textmate on desktop mac full (old-style) macintosh keyboard full numeric keypad. i'd able bind menu item keys, macro key triggers , other actions of numeric keypad keys.
i understand can cocoa (?) text editing commands in ~/library/keybindings/defaultkeybinding.dict file, macros textmate dialog box doesn't distinguish between numeric keypad , main keypad keys same name. ditto os/x keyboard shortcuts preference pane used change textmate menu item keys.
should trying customize of core bundles instead?
any advice appreciated,
stu
i understand can cocoa (?) text editing commands in ~/library/keybindings/defaultkeybinding.dict file
this key. textmate use file, in addition has own version may used override settings or provide unique actions. can call textmate functions (selectors) directly through method.
i recommend copying default version /applications/textmate.app/contents/resources/keybindings.dict
~/library/application support/textmate/keybindings.dict
, modifying there.
unfortunately, calling bundle macros challenge... think may possible through clever combinations of commands...
("inserttext:"," keypad1.sh","selectword:","executecommand:")
then, if add source bundle default values of commands (in support/bin) --- keypad1.sh returns 1... --- can have customized commands in bundles you're interested in modifying.
i haven't tried this, think may work...
Comments
Post a Comment