VimRegisterController.pushText method
VimRegisterController › pushText
Unofficial
Store text into a register on behalf of an operator, also updating the unnamed and numbered registers the way Vim does.Signature:
pushText(registerName: string | null | undefined, operator: string, text: string, linewise?: boolean | undefined, blockwise?: boolean | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| registerName | string | null | undefined | The register to write to, or null or undefined for the unnamed register. |
| operator | string | The operator the text came from, which decides how the numbered registers shift. |
| text | string | The text to store. |
| linewise? | boolean | undefined | Whether the text is linewise. |
| blockwise? | boolean | undefined | Whether the text is blockwise. |
Returns: void