How to autocomplete a search word in Vim?
I've the following piece of code and I want to search for the word pgnExists_f
.
if(hj1939stack->pgnArray[index] == newPgn)
{
/* newPgn already exists in the pgnArray */
pgnExists_f = TRUE;
}
In the search command I pressed TAB after typing pgn hoping that the word would autocomplete to pgnExists_f. But, what followed pgn was ^I
.
/pgn[TAB]
resulted in
/pgn^I