In English, for example, we can say something like “I don't like to exercise but I do” or “I hope he learns Esperanto but I don't think he will”. It isn't necessary to repeat to exercise or to learn.
How does this work in French? Do we simply use faire?
(Also what is the grammatical term for this?)