mapmap
[!
] [char
commands
]
Define a keyboard macro named char
as the specified sequence of commands
. char
is usually a single character, or the sequence Examples:map K dwwP Transpose two words :map q :w^M:n^M Write current file; go to next :map! + ^[bi(^[ea) Enclose previous word in parentheses |
|