Activate this mode to snap selected vertices to grid. Menu: Edit -> Snap selected vertices to grid. Found in: Preferences -> Controls -> Drawing. Default key: none.