ozzik / Slicer

Your friendly Sketch slicing helper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keyboard shortcut conflicts with Zeplin.

varunyellina opened this issue · comments

commented

We distribute all design assets to our devs using zeplin.io which happens to use the same keyboard shortcut. Would it be possible to allow for changing the shortcut?

I know that both Slicer and Zeplin are targeting different workflow, so it would be unfair to ask you of this. If you can tell me a way to prevent Slicer from overriding Zeplin, that would be awesome..

I don't know how this would work: maybe a change in plugin loading order?

Hey Varun, I feel your frustration, this also happens to me with other plugins 🙈

I actually do plan on allowing customizing the keyboard shortcut (tho it's very hacky on Sketch) but for now I think the easiest solution would be to create a system keyboard shortcut:

screen shot 2016-10-08 at 21 07 19

1. Open your Mac's System Preferences 2. Go to Keyboard -> Shortcuts -> App Shortcuts 3. Click the "+" button and 4. Select "Sketch" from the Application dropdown, type "Export to Folder" in the Menu Title and use whichever keyboard shortcut you'd like in the last field

Hope this will do for now, lmk if this doesn't work out (or if it does) :)

commented

Still doesn't solve my problem. Sketch orders plugins by alphabet. Hence Slicer automatically overrides Zeplin. I know I could make a fork of Slicer and edit the shortcut for my convenience.

slicer

commented

Here's the fork. I've changed shortcut to use Ctrl instead of Cmd. I'll try to keep it in sync with this original till the time the shortcut becomes customisable.

Really weird, I'm not sure the plugin order affects this since I've just tested the Mac shortcut on another machine with Zeplin installed:

key
Sorry for asking but did you use the exact command name? I think it's case sensitive.

Anyway, happy the fork is working for you now and I hope I'll push the customizable shortcut in the next next version :)

commented

Hey, a quit and restart of Sketch did the job using the shortcut override from System Preferences.

giphy-17
Awesome :)