Slicer icon indicating copy to clipboard operation
Slicer copied to clipboard

Keyboard shortcut conflicts with Zeplin.

Open varunyellina opened this issue 8 years ago • 6 comments

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?

varunyellina avatar Oct 07 '16 11:10 varunyellina

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) :)

ozzik avatar Oct 08 '16 18:10 ozzik

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

varunyellina avatar Oct 09 '16 07:10 varunyellina

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.

varunyellina avatar Oct 09 '16 07:10 varunyellina

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 :)

ozzik avatar Oct 09 '16 07:10 ozzik

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

varunyellina avatar Oct 09 '16 08:10 varunyellina

giphy-17 Awesome :)

ozzik avatar Oct 09 '16 08:10 ozzik