Repeat the last search in either direction.

Section: Search navigation

Jump among matches

vim
vim
n  N
Explanation

`n` follows the search direction and `N` reverses it.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Search navigation
Search forward
Find the next match after the cursor.
OpenIn sheetvimsame section
Search backward
Search upward through the file.
OpenIn sheetvimsame section
Search for word under cursor
Search the symbol at the cursor instantly.
OpenIn sheetvimsame section
Clear search highlight
Remove visual search highlighting.
OpenIn sheetvim2 tag match
Substitute on current line
Replace matches only on the current line.
OpenIn sheetvim1 tag match
Record a macro
Start recording keystrokes into a register.
OpenIn sheetvim1 tag match