Instead of using w to jump to the beginning of the next word or using e to jump to the end of the next word I want to have a shortcut which jumps to the ne
:help f
and :help t
for that./[[:space:]]
or /\s
if you want to also match tab.Following a suggested edit that was rejected, here is how to do it backwards (jump to previous space):
:help F
and :help T
for that.?[[:space:]]
or ?\s
if you want to also match tab.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.
as mentioned: you can use f
and then Space
but then use ;
to hop to all the remaining spaces.
My sequence is then often:
f<Space>;;;;
The semicolon is a repetition for the f-key (find char in Line)