Shortcut

Vim Repeat the Search Shortcut

The Vim shortcut to repeat the search is n on Windows. It's the same on Mac.

Quick Answer

Windows
n
Mac
n
Web
Not confirmed yet
VimShortcut

Repeat the Search

Windows
n

Goes to the next match.

Learn More

How to repeat the search in Vim

  1. Open Vim and go to where you want to repeat the search.
  2. Press n on Windows or n on Mac.

Vim Repeat the Search Shortcut for Windows

Press n.

Vim Repeat the Search Shortcut for Mac

Press n.

Vim Repeat the Search Shortcut for Vim Web

We haven't confirmed a Vim Web shortcut for this yet.

Related Keyboard Shortcuts

Frequently asked questions

What is the Vim repeat the search shortcut?

On Windows, press n. On a Mac, press n.

Is there a Mac shortcut to repeat the search in Vim?

Yes: n.

Does it work in Vim for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify