Vim Recall繁體中文

Move the command-line cursor one WORD left

<C-Left>

Example

Command-line 0 / 1

Move the command-line cursor one WORD left.

Command line

Prompt
:echo 'red blue'
Insertion column
16
Editing mode
Insert
Completion menu
inactive

Vim messages

Empty
Last status message
Last warning
Before & after

Before

Command line

Prompt
:echo 'red blue'
Insertion column
16
Editing mode
Insert
Completion menu
inactive

Vim messages

Empty
Last status message
Last warning

After

Command line

Prompt
:echo 'red blue'
Insertion column
11
Editing mode
Insert
Completion menu
inactive

Vim messages

Empty
Last status message
Last warning

Start in Command-line mode. A literal :echo prompt is already open. This key edits, moves within, cancels, or submits that prompt; the text buffer is separate.

Sample buffer
one two
three four
five six
keep
Cursor on line 1, column 1
Details & Vim help

Example replayed in Vim

Move the command-line cursor one WORD left. 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 command-line WORD movement uses literal ASCII spaces as boundaries, keeps punctuation in the same run and does not use iskeyword.