mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-14 17:59:47 +00:00
Update cheatsheets
This commit is contained in:
39
copyq
Normal file
39
copyq
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# copyq
|
||||
|
||||
> Clipboard manager with advanced features.
|
||||
> More information: <https://copyq.readthedocs.io/en/latest/command-line.html>.
|
||||
|
||||
- Launch CopyQ to store clipboard history:
|
||||
|
||||
`copyq`
|
||||
|
||||
- Show current clipboard content:
|
||||
|
||||
`copyq clipboard`
|
||||
|
||||
- Insert raw text into the clipboard history:
|
||||
|
||||
`copyq add -- {{text1}} {{text2}} {{text3}}`
|
||||
|
||||
- Insert text containing escape sequences ('
|
||||
', ' ') into the clipboard history:
|
||||
|
||||
`copyq add {{firstline
|
||||
secondline}}`
|
||||
|
||||
- Print the content of the first 3 items in the clipboard history:
|
||||
|
||||
`copyq read 0 1 2`
|
||||
|
||||
- Copy a file's contents into the clipboard:
|
||||
|
||||
`copyq copy < {{path/to/file.txt}}`
|
||||
|
||||
- Copy a JPEG image into the clipboard:
|
||||
|
||||
`copyq copy image/jpeg < {{path/to/image.jpg}}`
|
||||
Reference in New Issue
Block a user