Vim Recall繁體中文

Switch the command-line keyboard between Hebrew and English when allowrevins is enabled

Ctrl-_

Example

Command-line 0 / 1

Switch the command-line keyboard between Hebrew and English when allowrevins is enabled.

Command line

Typed text
/
Insertion offset
1

Command-line keyboard

Keyboard
English
allowrevins
on
Before & after

Before

Command line

Typed text
/
Insertion offset
1

Command-line keyboard

Keyboard
English
allowrevins
on

After

Command line

Typed text
/
Insertion offset
1

Command-line keyboard

Keyboard
Hebrew
allowrevins
on

Documentation-backed illustration. Vim has +rightleft and allowrevins is set; the Hebrew branch of c_CTRL-_ applies. CTRL-_ switches this command line from English to Hebrew keyboard mode; no character has been typed yet. Primary help: c_CTRL-_, farsi.

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

Switch the command-line keyboard between Hebrew and English when allowrevins is enabled. 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. This key takes no text argument and requires +rightleft and 'allowrevins'. The legacy +farsi keyboard mode was removed in patch 8.1.0932. Its Hebrew keyboard mode is private to the command line and independent of 'hkmap'.