[Pharo-project] [ANN]: Vim Shortcuts for Nautilus (Proof-of-concept)

Benjamin benjamin.vanryseghem.pharo at gmail.com
Sun Jul 8 09:13:08 EDT 2012


Here is the detach methods filed out.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Morph-*NautilusCommon-KeyMappingExtensions.st
Type: application/octet-stream
Size: 713 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20120708/22cfa65a/attachment.st>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KMDispatcher-*NautilusCommon-KeyMappingExtensions.st
Type: application/octet-stream
Size: 740 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20120708/22cfa65a/attachment-0001.st>
-------------- next part --------------


They are still extensions here, but they should be moved directly into KM

We will succeed :P

Ben


On Jul 8, 2012, at 2:52 PM, Sean P. DeNigris wrote:

> 
> Benjamin Van Ryseghem-2 wrote
>> 
>> If I were you, I would have put all the VIM shortcut in one class, instead
>> of putting them around but :)
>> 
> I'll keep that in mind once I get it working ;-)
> 
> 
> Benjamin Van Ryseghem-2 wrote
>> 
>> Like that, you could add yours in a specific context, and remove them.
>> 
> Any luck finding those detach* methods? Googling/Nabbling
> "detachKeymapCategory" turned up nothing.
> 
> Also, I think of my use case here for the "enter command mode" shortcut as
> "Change the default shortcuts for a Morph class". It seems that what's
> required for this type of use is a registration mechanism more like the
> world menu. For the world menu, I can insert an entry at any level, not just
> an existing one, without overriding anything. In KM currently, in order to
> do this, it seems we're forced to hitch a ride on an existing category.
> Maybe a special pragma indicating that certain categories should be attached
> for the class by default.
> 
> In summary, I'm still unclear on the relationship between the class-side
> <keymap> defaults methods and changing shortcuts on the fly, but what seems
> to be missing are:
> * a way to register shortcuts/categories to be attached to a Morph class by
> default
> * a way to detach categories
> * a way to detach individual shortcuts
> 
> Thanks, this is very exciting. We're *so* close to having this work...
> Sean
> 
> --
> View this message in context: http://forum.world.st/ANN-Vim-Shortcuts-for-Nautilus-Proof-of-concept-tp4638987p4639088.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
> 



More information about the Pharo-dev mailing list