[TxMt] setting a command to all scopes?

Quinn Comendant quinn at strangecode.com
Sat Apr 8 01:28:42 UTC 2006



On Fri, 7 Apr 2006 19:52:16 -0500, Charilaos Skiadas wrote:

>So in your case, the generic commands will still work as long as  
>there is no command with the same shortcut and a more specific selector.
>Try the following: Set the generic commands to have scope  
>"text.html," without the quotes (note the comma). This should make  
>them work outside of text.html (since they are caught by the empty  
>selector following the comma), and also show up when in text.html,  
>because of the text.html bit there.

Yes, makes perfect sense to me. If I add "text, source, " it will work
in all those scopes with the command key.

Allen: considering this is the case, it seems useful to have a magic
scope called, say, "global", which can be used when a bundle item should
always be called regardless of scope.

Q




More information about the textmate mailing list