f
The
Motion
The f command in Vim
Motion
find char
Find — move cursor to the [count]'th occurrence of a character to the right on the current line. Cursor lands on the character. Repeat with
;, reverse with ,.Examples
fa(jump to next "a")df,(delete to next comma)3f((3rd next paren)ct;(change till semicolon)
Related plugin
dahu/vim-fanfingtastic — Extends f, F, t, T to search across multiple lines instead of stopping at the end of the current line.
Reference
Learn every Vim command visually — right in your browser.
Add Vim What? to Chrome — FreeAlso on Firefox.
Related motions