Shortcut
Vim Repeat the Search the Other Way Shortcut
The Vim shortcut to repeat the search the other way is N on Windows. It's the same on Mac.
Quick Answer
- Windows
- N
- Mac
- N
- Web
- Not confirmed yet
VimShortcut
Repeat the Search the Other Way
Goes to the previous match.
How to repeat the search the other way in Vim
- Open Vim and go to where you want to repeat the search the other way.
- Press N on Windows or N on Mac.
Vim Repeat the Search the Other Way Shortcut for Windows
Press N.
Vim Repeat the Search the Other Way Shortcut for Mac
Press N.
Vim Repeat the Search the Other Way 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 the other way shortcut?
On Windows, press N. On a Mac, press N.
Is there a Mac shortcut to repeat the search the other way 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