Created
          November 2, 2022 06:25 
        
      - 
      
 - 
        
Save tayiorbeii/ed2e2a07358f3e337dd3c191ef4f3f21 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