or set the osmode variable (it can also be done in transparent mode)
osnap values find them in the guide. for example end is 1 mid is 2 and cen is 4
if check to osmode 5 (4+1) the osnap will be cen+mid. if check 7 (4+2+1) will be cen+mid+end and so on.