Vim Recall繁體中文

Move the cursor to the count previous unmatched #if, #else or #ifdef

[#

Example

Normal 0 / 1
#if ONE
one
#else
two
#endif
Cursor on line 4, column 3

Move the cursor to the count previous unmatched #if, #else or #ifdef.

Before & after
Before
#if ONE
one
#else
two
#endif
Cursor on line 4, column 3
After
#if ONE
one
#else
two
#endif
Cursor on line 3, column 1

Start in Normal mode.

Details & Vim help

Example replayed in Vim

Move the cursor to the count previous unmatched #if, #else or #ifdef. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.