Map autocomplete:toggle to tab key



I’m trying to map autocomplete:toggle to the <tab> key, but it seems that it’s not working.

I added the mapping in my user keymap.cson like this:

  'tab': 'autocomplete:toggle'

Am I missing something?



Check out Overloading Key Bindings on the Keymap advanced documentation page …

It has specific information about overloading TAB and I suspect that you are not using a specific enough keymap to override all the key bindings that are already there.