3 ms·
I do this to copy files into the chat `cat file.js | xclip -sel clip` On Linux, this copies the whole file to the clipboard and I can paste it in. This is co
by aussieguy1234 1y ago
I do this to copy files into the chat
`cat file.js | xclip -sel clip`
On Linux, this copies the whole file to the clipboard and I can paste it in.
This is considerably faster than using the mouse.
I can also get a code review done by getting the diff
`git diff develop..feature/my-branch | xclip -sel clip`
- trees101 1y agogreat tips if you want more context, aider has /copy-context that copies the files that you have added to the context, your chat (I think). you can then paste into a subscription chat app where you're not paying per token