Preferences

Preferences in Sketch are there so you can tailor certain features to your liking. To access the preferences, choose Sketch › Preferences from the menu or (press Command-Comma). Here, you’ll see tabs for each section:

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

svgExportCompact

This is 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:

1
defaults write ~/Library/Preferences/com.bohemiancoding.sketch3.plist svgExportCompact -bool yes

If you ever need to disable this feature, run:

1
defaults write ~/Library/Preferences/com.bohemiancoding.sketch3.plist svgExportCompact -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:

1
defaults write ~/Library/Preferences/com.bohemiancoding.sketch3.plist svgExportSkipAssignIdToLayerName -bool yes

If you ever need to disable this feature, run:

1
defaults write ~/Library/Preferences/com.bohemiancoding.sketch3.plist svgExportSkipAssignIdToLayerName -bool no

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 Stable version:

1
2
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:

1
2
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.