Vim Recall繁體中文

Search backward for {pattern} of last search

?<CR>

Example

Normal 0 / 2
red blue red green red
Cursor on line 1, column 19

Search backward for {pattern} of last search.

Before & after
Before
red blue red green red
Cursor on line 1, column 19
After
red blue red green red
Cursor on line 1, column 10

Start in Normal mode. The previous search pattern is red; searches wrap at the buffer ends.

Details & Vim help

Example replayed in Vim

Search backward for {pattern} of last search. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.