Menu: View Snap to Grid
Mac: (Cmd + ;)
Win: [Ctrl + ;]
Toggles the Snap command for guides, grid, slices, and document bounds.