benjohnson / atom-django-templates

Atom support for Django templates.
23 stars 10 forks source link

Where is Emmets Keymap? #35

Open ghost opened 6 years ago

ghost commented 6 years ago

All you have to do is add Django Templates to the the list of grammars in Emmet's keymaps/emmet.cson file:

Where Is that on the computer?

nftchance commented 5 years ago

You are going to go to 'Settings' of Atom that has all of the options like 'Core', 'Editor', etc...

Click on 'Packages'. Search 'Emmet'

Click 'Settings'. Click 'View Code'

Find 'keymaps' with 'emmet.cson' in it.

Then you have found your file. To add the keybind according to the README you just have to add:

atom-text-editor[data-grammar="text html django"]:not([mini])

Where the comments are the same as in the example given.

Though, even after doing this and restarting Atom it still doesn't work so there may be another issue going on here anyways.