Shortcut
Vim Search Backward Shortcut
The Vim shortcut to search backward is ? then Enter on Windows. It's the same on Mac.
Quick Answer
- Windows
- ? then Enter
- Mac
- ? then Enter
- Web
- Not confirmed yet
VimShortcut
Search Backward
Type the text, then press Enter to search up the file.
How to search backward in Vim
- Open Vim and go to where you want to search backward.
- Press ? then Enter on Windows or ? then Enter on Mac.
Vim Search Backward Shortcut for Windows
Press ? then Enter.
Vim Search Backward Shortcut for Mac
Press ? then Enter.
Vim Search Backward 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 search backward shortcut?
On Windows, press ? then Enter. On a Mac, press ? then Enter.
Is there a Mac shortcut to search backward in Vim?
Yes: ? then Enter.
Does it work in Vim for the web?
We haven't confirmed a web version shortcut for this yet.
Official source · How we verify