Quick snapping toggle action

Add a quick action for snap to grid so the effect of snap to grid setting can be inverted while a key shortcut is held.