Skip to content

VimRegister.setText method

VimRegister › setText

Unofficial

Replace everything the register holds with the given text.

Signature:

setText(text?: string | undefined, linewise?: boolean | undefined, blockwise?: boolean | undefined): void

Parameters:

ParameterTypeDescription
text?string | undefinedThe text to store.
linewise?boolean | undefinedWhether the text is linewise.
blockwise?boolean | undefinedWhether the text is blockwise.

Returns: void