Enter digraph when 'digraph' is on
{char1} <BS> {char2}
Example
Command-line 0 / 1Command-line 1 / 1Enter digraph when 'digraph' is on.
Command line
- Typed text
/caf- Insertion offset
4
Options
- digraph
on
Type e, Backspace, then ' to enter the e' digraph é in the search command; the buffer is unchanged.
Command line
- Typed text
/café- Insertion offset
5
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.
alpha
beta
gammaCursor on line 1, column 1Details & 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.