This might be a little hard to explain, so stay with me

So I see currently when my G code is generated that before each plunge move there is a rapid move to the plunge location. I've also seen that I can add a 'New Segment' command, which runs before each new toolpath (if multiple toolpaths are combined into one file).
What I'd like to know is if I can specify that rapid move to happen before the new segment command. The reason for this is that I'd like to be able to set up the G28.1 zeroing process to happen at the first plunge for each new toolpath. That way I can generate a toolpath for vectors that are near each other, and only touch off once for each toolpath.
Currently, I am either limited to touching off with each plunge (which sucks if there are many small cuts close together), or only once at the beginning of the file.