gain onto get closer to somebody or something that you are chasing
You're gaining on him! Go straight.