vim repeat find next character 'x'

I often navigate in vim by f x to find next occurrence of character 'x', but overlook that there is a word (or more words) containing 'x' in between the word I want to edit and the beginning cursor position.

So i have to f x again, which is kind of annoying since there is this nice button ., which does repeat the last command. So is there a way to repeat f x with a single button press.


Solution 1:

The command to repeat an f is ; (semicolon); , (comma) reverses the direction of the search.

Solution 2:

Time has passed since I asked this question - nowadays I use vim-easymotion, which makes the need for ; almost unnecessary.

This plugin allows to jump to a certain letter directly - triggering the plugin makes all letters grey except for all 'x' on the screen - and those are replaced by red letters which you can press to jump directly to it.

easymotion in use