```coffeescript
# Your keymap
#
# Atom keymaps work similarly to stylesheets. Just as stylesheets use selectors
# to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
# Here's an example taken from Atom's built-in keymap:
#
# '.editor':
#   'enter': 'editor:newline'
#
# '.workspace':
#   'ctrl-P': 'core:move-up'
#   'ctrl-p': 'core:move-down'
#
'atom-text-editor[data-grammar="text xml"]:not([mini])':
  'tab': 'emmet:expand-abbreviation-with-tab'
```

Use cmd-p to toggle command-palette
user
```coffeescript
'atom-text-editor[data-grammar="text xml"]:not([mini])':
  'tab': 'emmet:expand-abbreviation-with-tab'

'.platform-darwin':
  'cmd-p': 'command-palette:toggle'
```
assistant