Skip to content

Instantly share code, notes, and snippets.

@martpie
Last active October 7, 2021 09:41
Show Gist options
  • Select an option

  • Save martpie/532134a7390eea142792 to your computer and use it in GitHub Desktop.

Select an option

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'
@harrison-drift

Copy link
Copy Markdown

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

@dominikkucharski

Copy link
Copy Markdown

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