Vim Recall繁體中文

Like ":noremenu" but for Operator-pending mode

:onoremenu

Example

Normal 0 / 2

Like ":noremenu" but for Operator-pending mode.

Menu definitions

Recall.Demo
not defined
Before & after

Before

Menu definitions

Recall.Demo
not defined

After

Menu definitions

Recall.Demo
Operator-pending: iw (non-remappable RHS)

Subject: :onoremenu. Documentation-backed illustration; assumes +menu and GUI menu support; explicit mode follows map.txt mapmode links (v includes Select; x is Visual only); not replay-verified. Defines Recall.Demo for Operator-pending with the literal RHS iw; its keys cannot be remapped. Defining the menu does not invoke it.

Sample buffer
one two
Cursor on line 1, column 1
Details & Vim help

Like ":noremenu" but for Operator-pending mode. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. The index spelling :onoreme[nu] puts the optional abbreviation suffix in square brackets; those brackets are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.