How to jump to/after Nth comma [duplicate]
You can combine the f
motion with a [count]
, so for your example, 3f,
would be the shortest way. (And if you have miscounted, you can correct with ;
and ,
.)
f,;;; or use easymotion and probable dupe of What is the most efficient way to reach a spot on sight on VIM?
What about searching the comma character?
/,
and then input a number, say 3
and then type n
or N
to locate all commas in the doc?