Skip to content

VimRegister.setText method

VimRegister › setText

Unofficial

Replace everything the register holds with the given text.

Signature:

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

Parameters:

ParameterTypeDescription
text?stringThe text to store.
linewise?booleanWhether the text is linewise.
blockwise?booleanWhether the text is blockwise.

Returns: void