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