This page describes the preferences related to the Map 2D Edit Tools and its Snap function.
Main Toolbar > Preferences > Editing
Map 2D > Main Toolbar > Tools > Edit > Preferences
Activate snapping and set the basic snap behavior.
Activate snapping to Vector Dataset and choose the objects to be taken into account for snapping
Activate snapping to Constructions.