Skip to content

Paste Text

banner

This item type can be used to paste the given text into the active window. It is useful if you notice that you are typing the same text over and over again.

Example Configuration

If you happen to edit your menus.json file by hand, you can create a Paste-Text item with something like the following. You can read more about the structure of the menus.json file in its documentation.

The data property of the menu item must contain a text property which contains the text to paste.

menus.json
// ...
{
"name": "Paste Text",
"type": "text",
"icon": "translate",
"iconTheme": "material-symbols-rounded",
"data": {
"text": "Hello World!"
}
},
// ...