I've installed node plugin, which give possibility to display all lines that contain the keyword under the cursor using [I hotkey. It looks like this: enter image description here

Is there possibility to jump to them?

  • The line numbers are there so you could type 114gg too jump to the second entry. Though I guess that only works if its your current buffer.
    – jecxjo
    Apr 11, 2015 at 7:21

1 Answer 1


That feature is built-in, it has nothing to do with that "node" plugin. It's called "include search" and you can read all about it in :help include-search.

You have a few ways to jump to an item in the list:

  • :136<CR> will jump to line 136 but it is obviously restricted to the current buffer and you only jump to the line, not the match,
  • :ijump 3 <C-r><C-w> will jump to the third item in the list, across buffers,
  • going back to normal mode and doing 3[<C-i> has the same effect as above.

But those methods aren't particularly easy on the fingers.

You can create a simple custom mapping to make it a lot smoother:

nnoremap [I [I:ijump  <C-r><C-w><S-Left><Left>

Here is a simplistic demo:

silly demo

There's also this gist of mine that overrides the native [I (among others) to use the much more powerful quickfix list/window:


  • 2
    For your third option, it may help that <C-i> is the same as <Tab> in most terminal emulators.
    – tommcdo
    Apr 11, 2015 at 11:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.