Vim Recall繁體中文

Enter digraph when 'digraph' is on

{char1} <BS> {char2}

Example

Command-line 0 / 1

Enter digraph when 'digraph' is on.

Command line

Typed text
/caf
Insertion offset
4

Options

digraph
on
Before & after

Before

Command line

Typed text
/caf
Insertion offset
4

Options

digraph
on

After

Command line

Typed text
/café
Insertion offset
5

Options

digraph
on

Documentation-backed illustration. digraph is enabled, encoding is UTF-8, and the standard e' digraph is defined (c_digraph). Type e, Backspace, then ' to enter the e' digraph é in the search command; the buffer is unchanged. Primary help: c_digraph.

Sample buffer
alpha
beta
gamma
Cursor on line 1, column 1
Details & Vim help

Enter digraph when 'digraph' is on. Use while editing a : command or / or ? search prompt; this edits or controls that prompt rather than running an Ex command. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.