RedHatter / uglify-html

A simple Atom plugin to minify html pages.
GNU General Public License v3.0
2 stars 1 forks source link

How does it work? #1

Open parijke opened 6 years ago

parijke commented 6 years ago

installing it in Atom I do not see an option in the packages menu?

bryan-joseph-myers commented 6 years ago

Just got this working myself. Had to dig through the source to find out the command name.

This should help:

File > Keymap

Copy and paste the code below. Then save. Change the shortcut to what ever you want. :D

'atom-text-editor': 'ctrl-alt-u': 'uglify-html:Uglify Editor'

unknown81311 commented 4 years ago

it says : is incorrect instead of what you said use this:

'atom-text-editor': 'ctrl-alt-u': 'uglify-html:Uglify Editor'

webuxr commented 3 years ago

I'm on Mac OS 10.15.7 with Atom 1.58.0 (and v2.0.0 of this plug-in).

Atom menu > Keymap... Added 'atom-text-editor': 'cmd-alt-u': 'uglify-html:Uglify Editor' at the end of the file (keymap.cson).

I changed the shortcut and restarted Atom. Worked for me. Thanks!