What is the purpose of atom-text-editor:not([mini]) in keymap.cson?


Inside keymap.cson, what is the difference between these two selectors?



The :not([mini]) part tells Atom not to use the keybinding on atom-text-editor elements with a mini attribute. Mini text editors are the one-line text inputs found in the settings view (and other places). So you use atom-text-editor:not([mini]) when you want a keybinding to apply only to code text editors.