Of course, It works In Pharo 1.2 core.� I didn't test it in other versions.
Last version of keymapping supports:
- Keymap definition by pragmas
- Shortcut dsl that looks like
KMMeta + $r, $b�� (which means Alt + r, b)
KMCmd + $r, KMCmd + $d � (which means Cmd + r, Cmd + d)
+ is to combine modifiers to characters
, is to define sequence of shortcuts
KMMeta is meta (Alt I suppose)
KMCmd is Cmd (Ctrl I guess)
KMShift is Shift
- The morphs inherits their superclasses shortcuts.
- ALOT of cleansing, renaming, refactoring
To come:
- more documentation :P
- more refactoring and cleansing :P.
- Application specific shortcuts (To attach shortcuts to morph's models)
To download:
Gofer it
��� squeaksource: 'Keymapping';
��� package:'ConfigurationOfKeymapping';
��� load.
���
(((Smalltalk at: #ConfigurationOfKeymapping) perform: #project) perform: #version: with: '1.2') load: #( 'default' 'tests' 'configurations' )
To look the example look at KeymapDefaultConfiguration class>>declareDefaultKeymapsOn:
Cheers,
Guille :D