Vim Recall繁體中文

Show or enter a mapping

:map

Example

Normal 0 / 2

Show or enter a mapping.

Example mappings

Empty
Before & after

Before

Example mappings

Empty

After

Example mappings

· <F5>
example · recursive

Start in Normal mode. F5 is an example mapping in this isolated process. The panel shows its actual mode, left-hand side, right-hand side and remapping flag.

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

Example replayed in Vim

Show or enter a mapping. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative. Without !, mappings apply to Normal, Visual, Select and Operator-pending modes. With !, they apply to Insert and Command-line modes. No operands lists mappings; a lhs lists matching definitions, while lhs and rhs define a mapping. Definitions are global by default; <buffer> selects the current buffer.