Vi - Jump to char sequence in line

428 Views Asked by At

Is there a command to quickly jump to a typed char sequence in the current line in Vi? Kinda type-and-seach in a file explorer.
I'm aware, that I can jump to the next specified char with fa (where 'a' is the wanted character here) or reverse with a capital F. But often a single character does not help. I know also, that I can search with / or ? and a regular expression. But that's to much and to slow for this use case. My alternative is then to use the 'find char' command with a number or do the same with b...
To break it down, I'm searching for something like fabc, where fa jumps to the next 'a'. When hitting the 'b' it goes to the next char sequence 'ab' (could be the same position) and so further with 'c'.
Maybe this is a bit special. But as Bram Moolenaar said: "While you are editing, keep an eye out for actions you repeat and/or spend quite a bit of time on." [1]

0

There are 0 best solutions below