Created
October 18, 2022 03:26
-
-
Save tayiorbeii/26f21609bb5538d5b1e2f36c38f38404 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import "@johnlindquist/kit" | |
| const replaceAll = await npm('just-replace-all') | |
| // Name: Copy Selected | |
| // Shortcut: opt c | |
| let selectedFile = await getSelectedFile() | |
| let contents = await readFile(selectedFile, 'utf-8') | |
| await copy(contents) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment