Preferences

Sketch’s preferences are divided up into General, Canvas and Layer-specific sections. Consult the relevant chapter to find out more about the settings in each tab.

We also have a number of preferences without a visible control in the Preferences panel:

exportCompactSVG

Used to tell Sketch to export compact SVG files. We add some metadata to exported SVG files, to make it easier to re-import them in Sketch. However, if you are sure you won’t import them, you can disable the saving of metadata by running this into your Terminal.app:

defaults write com.bohemiancoding.sketch3 exportCompactSVG -bool yes

If you ever need to disable this feature, run:

defaults write com.bohemiancoding.sketch3 exportCompactSVG -bool no

svgExportSkipAssignIdToLayerName

When this is set to YES, Sketch will not use the name of the layer for the id field of the layer in SVG export:

defaults write com.bohemiancoding.sketch3 svgExportSkipAssignIdToLayerName -bool yes

If you ever need to disable this feature, run:

defaults write com.bohemiancoding.sketch3 svgExportSkipAssignIdToLayerName -bool no

Please note: due to the way OS X caches preferences, you’ll need to log out of your user account and log back in again for the changes to apply.

nudgeDistanceSmall and nudgeDistanceBig

These control the increments that Sketch uses when using the arrow keys to move and resize a selected shape.

The default values are 1 for nudgeDistanceSmall and 10 for nudgeDistanceBig. If you want to change them, run this:

For the App Store version:

defaults write com.bohemiancoding.sketch3 nudgeDistanceSmall -float 2.0
defaults write com.bohemiancoding.sketch3 nudgeDistanceBig -float 8.0

For the non-App Store version:

defaults write ~/Library/Preferences/com.bohemiancoding.sketch3.plist nudgeDistanceSmall -float 2.0
defaults write ~/Library/Preferences/com.bohemiancoding.sketch3.plist nudgeDistanceBig -float 8.0

For the Beta version:

defaults write com.bohemiancoding.sketch3.beta nudgeDistanceSmall -float 2.0
defaults write com.bohemiancoding.sketch3.beta nudgeDistanceBig -float 8.0

You can change these while Sketch is running, and it should pick the changes instantly. Alternatively, you can use Nudg.it, a GUI app to change these values.