VimApi.defineOperator method
VimApi › defineOperator
Unofficial
Register an operator, which transforms the range a motion selected.Signature:
defineOperator(name: string, fn: VimOperatorFn): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| name | string | The name mappings refer to the operator by. |
| fn | VimOperatorFn | The implementation. |
Returns: void