Vim Recall繁體中文

Switch use of :lmap mappings

Ctrl-^

Example

Command-line 0 / 1

Switch use of :lmap mappings.

Command line

Typed text
/
Insertion offset
1

Language input

lnoremap
a α
imsearch
0
Before & after

Before

Command line

Typed text
/
Insertion offset
1

Language input

lnoremap
a α
imsearch
0

After

Command line

Typed text
/
Insertion offset
1

Language input

lnoremap
a α
imsearch
1 (language mappings enabled for this search)

Documentation-backed illustration. lnoremap a α is defined, UTF-8 is active, and imsearch=0 (c_CTRL-^). CTRL-^ enables the prepared language mapping for this search; typing a next would insert α. Primary help: c_CTRL-^.

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

Switch use of :lmap mappings. 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.