The docs don't come right out and say it, but @CLIPW doesn't append. Each @CLIPW starts at the beginning of the clipboard.
You can, of course, append with the likes of
Code:
echo foo >> clip:
But be careful. @CLIPW does not automatically put a newline in the clipboard either. So a subsequent ">> clip:" will likely be added at the end of the line written with @CLIPW.
Code:
v:\> echo %@clipw[1 First Line]
0
v:\> echo 2 Second Line >> clip:
v:\> type clip:
1 First Line2 Second Line
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.