Skip to content

copy en

Hamatoma edited this page Aug 12, 2022 · 2 revisions

Parameters

Name Type Description Example
append bool The result is appended in the destination buffer append
input bufferName Buffer being copied. Default: input input=examples
output bufferName The result is written into this buffer. Default: output output=result
text string Can be specified as an alternative to input. Then this text is copied to the destination. Can also be a interpolated text, then the delimiter is preceded by i and the Esc character. text="Hello" text=i%"First line%nSecond line"

Examples

The "input" buffer contains:

Hello world
The "todo" buffer contains:
Greetings
Command:
copy text=i%"%n" out=todo append
copy out=todo append
After that the contents in "todo" is:
Greetings
Hello World
Command:
copy text="Hi Jonny!"
Then the "output" buffer contains:
Hi Johnny!

Clone this wiki locally