Jump to next white space
- Use f and then space. See
:help f
and:help t
for that. - Alternatively use
/[[:space:]]
or/\s
if you want to also match tab. - otherwise El will do it (capital e and lowercase L).
Following a suggested edit that was rejected, here is how to do it backwards (jump to previous space):
- Use F and then space. See
:help F
and:help T
for that. - Alternatively use
?[[:space:]]
or?\s
if you want to also match tab. - otherwise Bh will do it (capital b and lowercase h).
On the same line :
fSpace will work.
Generally, f+<char>
allows you to jump on the next character on the same line.
See :help f
for more information.