You are at the newest post.

### How to use [I and friends ([i/]i/]I) in Vim?

This is not a “how to” answer blog post, but rather a “how to” question blog post.

Tonight while reading some Go code, I wanted to see where a function is called. I remembered the [I command:

Display all lines that contain the keyword under the cursor. Filenames and line numbers are displayed for the found lines. The search starts at the beginning of the file.

The result was exactly what I was looking for—indeed, ideally I’d like to do this across all the source in the project, but the solution for that is different1:

But I couldn’t figure out how to navigate and use this list. The window is not the Location list of Quick list. I couldn’t find any hints in the help. I also don’t know the magic of Googling Vim shortcuts.

So how do you navigate the result list of [I/]I in Vim?

1. I’m using the_silver_searcher together with wincent/ferret and some custom mappings

## Don't be the product, buy the product!

YES, I want to SOUP ●UP for ...