aussieguy1234 1 day 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`

1
trees101 1 day ago

great 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