Skip to content

Instantly share code, notes, and snippets.

@martpie
Last active October 7, 2021 09:41
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martpie/532134a7390eea142792 to your computer and use it in GitHub Desktop.
Save martpie/532134a7390eea142792 to your computer and use it in GitHub Desktop.
Get emmet-atom working fine with Atom and autocomplete-plus
# Will make autocomplete trigger with 'enter' instead of 'tab'
'atom-text-editor:not(mini) .autocomplete-plus.autocomplete-suggestion-list':
'tab': 'unset!'
'enter': 'autocomplete-plus:confirm'
# Use 'expand-abbreviation' instead of 'expand-abbreviation-with-tab' for tab keybinding
'.pane .editor:not(.mini)':
'tab': 'emmet:expand-abbreviation'
@Harry-Harrison
Copy link

So, I tried this and it actually disables the tab key altogether unless there's an abbreviation to be had...

@dominikkucharski
Copy link

It works great! Thank you for this solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment