Disable the Spaces Animation in Mac OS X

Anytime you navigate between Spaces in OS X there’s a animation, this is nice but it makes switching between Spaces slower. You can disable the animation with the following command:

defaults write com.apple.dock workspaces-swoosh-animation-off -bool YES

To make the command take effect, you need to restart the Dock

killall Dock

Revert to the default setting:

defaults write com.apple.dock workspaces-swoosh-animation-off -bool NO