Snap to grid lines when moving verticle acros the path
ok this might be a funny solution but it works!


your line
make a line with e to desired location and connect to other with f
do the same to other side
join two new verts with J
clean the verts with ctrl + x