3 ms·
In Vim (editor, not IDE), if your cursor is on the i, then * will jump to the the next occurrence, # the previous one. In addition, they all get highlighted if
by kazinator 10y ago
In Vim (editor, not IDE), if your cursor is on the i, then * will jump to the the next occurrence, # the previous one. In addition, they all get highlighted if ":set hls" (highlight search) is on, which is the default.
"Don't use 'i' because it occurs often in keywords, making it hard to search for" is the most outlandish thing I've head in a good several weeks, even without the Scrabble reference.
- sullyj3 10y agoAlternatively, you could search for "int i" or "\<i\>", or "for (i".