When pressing [I
VIM shows a list of lines which match the word under the cursor. For instance, if the cursor is on the word Table
and one presses [I
the following is shown:
1: 49 class Table(object):
2: 220 new_table = Table(t, records)
3: 241 tables.append(Table(row[0], row[1],))
4: 392 tables.append(Table(t, records))
Press ENTER or type command to continue
How can one easily select an option from the list, i.e. jump to one of the lines? I have tried Tab
, Ctrl-N
, Ctrl-P
, j
, the arrow keys, and entering 1
, 2
, and so on. None of these work. I know that I could simply type the line number and then gg
to jump to the line in question, but I would like to know if VIM has another trick up its sleeve.