Vim Recall繁體中文

Based on *; without using "\<" and "\>"

g*

Example

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

Based on *; without using "\<" and "\>".

Before & after
Before
red blue red green red
Cursor on line 1, column 1
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

Based on *; without using "\<" and "\>". Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.