Undo cursor movement in Vim

Viewed 3699

Let's say I have my cursor lying in the code below:

internal static SingleSelectList<Country, int> CreateCountrySingleSelectList(List<Country> countries, List<Airport> airPorts)

And the cursor is in the head of the line. Now I want to move my cursor to the second < of this line of code, which is in the WORD List<Country>, and just doing the key sequence of f<; will bring me there.

But what if I did something wrong by pressing another ;, that will bring me to the next < in the line, which is in the word List<Airport>.

In this situation, how can I get back to the second < using the minimum key strokes?

Is there a fastest way to undo cursor movements, instead of F< or pressing the key hfor a very long time?

3 Answers
Related