Skip to content

VimApi.mapCommand method

VimApi › mapCommand

Unofficial

Map a key sequence to a command type, name, args, and extra options.

Signature:

mapCommand(keys: string, type: string, name: string, args?: object | undefined, extra?: object | undefined): void

Parameters:

Parameter Type Description
keys string The key sequence to map.
type string The command type.
name string The command name.
args? object | undefined The command arguments.
extra? object | undefined The extra options.

Returns: void