Atom data-grammar syntax for keybindings
问题 Can someone give a full explanation of the syntax for Atom's data-grammar attribute (used in keybinding selectors)? For instance, what is the difference between [data-grammar='source example'] and [data-grammar~='source example'] ? Also, how do you specify multiple grammars? For instance, how would you specify that a key binding should be limited to html or xml formats? If there already exists documentation on this somewhere, I have not yet found it, but would appreciate being pointed to it.