cmdline.html

Command-line-mode Command-line mode-cmdline

Command-line mode is used to enter Ex commands (":") and text search patterns ("/" and "?").

:

:

Start Command-line mode. In Command-line mode, you can perform extended commands, which may require arguments.

Command-line editing

cmdline-editing

c_<C-c>

<C-c>

Quit Command-line mode without executing.

c_<C-]>

<C-]>

Expand a command-line abbreviation.

c_<Up>

<Up>

Recall the previous command line from the history list which matches the current command line.

c_<Down>

<Down>

Recall the next command line from the history list which matches the current command line.

c_<S-Up> c_<PageUp>

<S-Up>

<PageUp>

Recall the previous command line from the history list.

c_<S-Down> c_<PageDown>

<S-Down>

<PageDown>

Recall the next command line from the history list.

Command-line completion

cmdline-completion

c_<Tab>

<Tab>

Complete the word in front of the cursor according to the behavior specified in 'wildmode'. If 'wildmode' contains "list" and there are multiple matches then the completion menu window is opened.

c_<S-Tab>

<S-Tab>

Complete the previous full match when 'wildmode' contains "full".